Here is Nginx Configuration for vShare youtube clone script # enforce NO www if ($host ~* … vShare Nginx ConfigRead more
Nginx
Nginx Configuration for phpMyAdmin
On Debian 9 server with nginx, i installed phpmyadmin with apt install phpmyadmin For some reason, … Nginx Configuration for phpMyAdminRead more
Nginx WordPress
Here is nginx configuration for wordpress server { listen 80; server_name serverok.in www.serverok.in; root /var/www/html; index … Nginx WordPressRead more
Enable FCGI cache in Nginx
To enable fcgi cache in Nginx, add the following code outside the server block. fastcgi_cache_path /var/run/nginx-fastcgi-cache … Enable FCGI cache in NginxRead more
Nginx SSL Configuration
Let’s say we have an Nginx virtual host like following To make it SSL enabled, add … Nginx SSL ConfigurationRead more
Nginx
Nginx is a powerful open source web server that is known for its high performance, stability, … NginxRead more
Nginx Redirect
Redirect www domain to non-www If you use custom ports, use Redirect Naked Domain to www … Nginx RedirectRead more
Nginx upstream timed out
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 … Nginx upstream timed outRead more
Magento 1.9 Nginx Configuration
Here is Nginx + php-fpm config for Magento 1.9 on Ubuntu 16.04/Debian 9. server { listen … Magento 1.9 Nginx ConfigurationRead more
Nginx Proxy Configuration
To configure Nginx as a proxy, use the following configuration If you need to serve images … Nginx Proxy ConfigurationRead more