Nginx

Related tags

How To Enable Google Adsense ads.txt file for Drupal on Nginx

Around early September 2019, in my Google AdSense dashboard, I noticed a warning informing me to create a separate ads.txt file.  I followed the on-screen instruction and did what was asked. After two months (at the start of November) I...

How to block visitors from country NGINX + GeoIP Module

There are a couple of reasons why website administrators consider blocking visitors from particular countries or regions accessing websites, the most common reason probably is hacking/hacking attempts.  One really nasty way...

How To Fix "gzip is failing for js files" Nginx

From Drupal Reports status page I noticed gzip is failing for js files error The web servers configuration will need to be adjusted. In most cases make sure that the webroots .htaccess file still contains this section "Rules to correctly serve...

How To Redirect in Nginx all Domain Name Versions to https://www

As you might already know search engines (Google) sees www.domain.com and domain.com as two separate domain names. If you are not using 301 redirects (www to non-www or vice verse)you might get penalized for duplicate content. ...

How To Fix: Error: Call to undefined function curl_init()

After upgrading from Ubuntu 12 to Ubuntu 16 I discovered an error for Drupal website sending e-mails using Mailsystem + Postmark here is the error code: Error: Call to undefined function curl_init() in Mail_Postmark->send() (line 322 of /srv/...

Postfix Send Only SMPT Mail for Drupal 8 on Ubuntu 16.04, Nginx

If you have recently installed a fresh Drupal 8 site on Ubuntu 16.04 with Nginx running on it and you are getting Unable to send e-mail. Contact the site administrator if the problem persists notice after submitting contact form, you are...

How To Password Protect Your site with Nginx on Ubuntu 14.04

I was working on a new customers website, and I was looking for ways to showcase current development stage to the client, meanwhile hiding contents from others. Sounds familiar? In this server series guide I will provide info how to set up basic...

How to Upgrade from Ubuntu 12.04 to 14.04 LTS

In this article I will provide simple instructions on how to upgrade Ubuntu 12.04 to 14.04.  In fact I didn't wanted to push for a server upgrade for a while, but decided to do it now, and not to wait when things will break completely. In fact...

How To Enable PHP Curl Ngnix (Good for Social share counters)

Today I was eager to install and enable really cool Drupal module for my blog - Social Share Counter, this module looked simple - all I had to do, just download, enable and a little bit tweak around. From module creator (s) This module gives the...

How to Upgrade PHP 5.3 to 5.5.9 on Ubuntu 12.04 to Support Drupal 8

That day finally have come and I've officially started a new project on my first Drupal 8 website. While my first attempts were about two years ago, but due to the lack of time and will to explore new things and configure new servers I...

LEMP Server Ubuntu 12.04 for serving Drupal on Nginx

In this tutorial you will learn how to setup a LEMP stack on Ubuntu 12.04 for serving a Drupal site (s). Update: I originally started this post to document my setup for actually configuring Nginx server on Ubuntu for Drupal site at the start...

How to Renew Let's Encrypt SSL Certificate

Free SSL certificates from Let's Encrypt certify are issued for a short 3 month term. I first enabled secure HTTPS pages around at start of 2016, and now it's time to renew SSL.  The following tutorial is written for Nginx, but should work for...

Linode: How To Secure Nginx with Let's Encrypt on Ubuntu 12.04

Encrypted HTTPS websites are pretty much a hot topic nowadays. I have seen a lot noncommercial websites and blogs using HTTPS protocol lately.  I believe cheap prices for certificates and possible SEO boost from Google are pushing...

How to Specify a Vary: Accept-Encoding header Nginx

The other day I visited tools.pingdom.com to test performance for my blog (the one you are currently reading) and I did fine I have a two bottlenecks: Remove query strings from static resources Specify a Vary: Accept-Encoding header I managed...

Drupal 8 Configuration for Nginx Server Blocks, Ubuntu 14.04

After a long period of doubts should I start testing and developing with Drupal 8, which stable version is not yet released, yesterday I decided to give a try for a Drupal 8 beta release.I bought a new Linode VPS, quickly deployed there Ubuntu 14.04...

Nginx redirect domain name to another domain

Redirecting website visitors to a different domain name using Nginx is simple. Add the following code to your server config:  server { server_name .domain.com; return 302 $scheme://forwarded-domain.com; } Restart Nginx sudo...

How to solve Nginx: 413 Request Entity Too Large error

I'm running a Nginx powered server I have configured a while ago. One problem I have on my Drupal sites hosted on that environment is that I couldn't upload a files larger than 1MB using Drupal fields. I got Nginx: 413 Request Entity Too Large...

Installing ownCloud on Linode - Ubuntu 14.04

Some time ago I get an opportunity to familiarize with ownCloud, you can find out more about my first impressions with ownCloud server here.  Today I decided to create a simple tutorial were I have noted have one (perhaps you) can install his/...

Drupal 8 Release

Update: The first official Drupal 8 release was launched on November 19, 2015 When will Drupal 8 be ready? We are working hard on Drupal 8 and making progress every day. The first beta release was announced at Drupalcon Amsterdam in October 2014...

Hire Drupal developer : How to

If you are looking to hire Drupal developer, at first you could consider to hire me, as your Drupal developer. But before that you must get trust. It's important to trust your Drupal developer, before you hire him or her. You should ask him/her to...