Magento 1.9 Nginx Configuration

Here is Nginx + php-fpm config for Magento 1.9 on Ubuntu 16.04/Debian 9.

[…]

Read More…

Nginx upstream timed out

Edit nginx.conf

Inside http {} block, add

See nginx […]

Read More…

Nginx configuration for aMember

Here is Nginx configuration for aMember script

See Nginx […]

Read More…

Nginx Redirect

Redirect site from www to non-www Redirect www domain to non-www

If you use custom ports, use

Redirect Naked Domain to www

Redirect a site to HTTPS

To redirect a specific URL to another URL

If you want to redirect a URL that matches specific pattern, use

[…]

Read More…

Nginx

Nginx Curl SSL error Nginx upstream timed out Nginx SSL Configuration Enable FCGI cache in Nginx gzip Disable Access to a folder in Nginx Nginx Disable Access log Nginx vs Apache https://openresty.org Auto Start Nginx on Windows List installed Modules in Nginx Install Nginx Install Nginx from source Install Nginx on CentOS 8 Nginx on […]

Read More…

Nginx SSL Configuration

Lets say we have a nginx virtual host like following

To make it SSL enabled, add following to the server entry.

Example

SSL protocols

dhparam Create

In your nginx config, add

Redirect Traffic to SSL

Disable TLSv1 in Nginx Nginx Proxy SSL Verification See Nginx […]

Read More…

Enable FCGI cache in Nginx

To enable fcgi cache in Nginx, add following code outside server block.

Inside your location for .php files, above the proxy_pass, add

Example

[…]

Read More…

Nginx WordPress

Here is nginx configuration for wordpress

Nginx Config with FCGI Cache + gzip compression

[…]

Read More…

Nginx Configuration for phpMyAdmin

On Debian 9 server with nginx, i installed phpmyadmin with

For some reason, ip-address/phpmyadmin did not work. On Ubuntu, it normally ask for for web server you have installed, then configure it during install. I got this working by adding following code

Inside default nginx virtual host

Restart nginx with

Now […]

Read More…

vShare Nginx Config

Here is Nginx Configuration for vShare youtube clone script

https://gist.github.com/serverok/1b300ff880db6aca59de0e42d86dadcb https://www.vshare.in […]

Read More…