Magento 1.9 Nginx Configuration
Here is Nginx + php-fpm config for Magento 1.9 on Ubuntu 16.04/Debian 9. server { listen 80; server_name mysite.com www.mysite.com; root /home/mysite.com/public_html/;…
Here is Nginx + php-fpm config for Magento 1.9 on Ubuntu 16.04/Debian 9. server { listen 80; server_name mysite.com www.mysite.com; root /home/mysite.com/public_html/;…
Edit nginx.conf vi /etc/nginx/nginx.conf Inside http {} block, add proxy_connect_timeout 1000s; proxy_send_timeout 1000s; proxy_read_timeout 1000s; fastcgi_send_timeout 1000s; fastcgi_read_timeout 1000s; See nginx
Here is Nginx configuration for aMember script location ~* ^/amember/.*\.(js|ico|gif|jpg|png|css|swf|csv)$ {} location ~* ^/amember/setup/index.php$ { try_files not-existing-file @php; } location ~* ^/amember/js.php…
Redirect www domain to non-www If you use custom ports, use Redirect Naked Domain to www Redirect a site to HTTPS Here…
Nginx is a powerful open source web server that is known for its high performance, stability, and flexibility. It is used by…
Let’s say we have an Nginx virtual host like following To make it SSL enabled, add the following to the server entry.…
To enable fcgi cache in Nginx, add the following code outside the server block. Inside your location for .php files, above the…
Here is nginx configuration for wordpress server { listen 80; server_name serverok.in www.serverok.in; root /var/www/html; index index.php; client_max_body_size 100M; location = /favicon.ico…
On Debian 9 server with nginx, i installed phpmyadmin with apt install phpmyadmin For some reason, ip-address/phpmyadmin did not work. On Ubuntu,…
Here is Nginx Configuration for vShare youtube clone script # enforce NO www if ($host ~* ^www\.(.*)) { set $host_without_www $1; rewrite…