![Nginx upstream timed out](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
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 1000s; fastcgi_read_timeout 1000s; See
![Nginx configuration for aMember](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Nginx configuration for aMember
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
![Nginx Redirect](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Nginx Redirect
Redirect site from www to non-www How to redirect a domain with html extension in Nginx Nginx Redirect HTTP to
![Nginx](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Nginx
Nginx is a powerful open source web server that is known for its high performance, stability, and flexibility. It is
![Nginx SSL Configuration](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Nginx SSL Configuration
Let’s say we have an Nginx virtual host like following To make it SSL enabled, add the following to the
![Enable FCGI cache in Nginx](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
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 levels=1:2 keys_zone=SOKCACHE:60m inactive=60m; fastcgi_cache_key
![Nginx WordPress](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Nginx WordPress
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
![Nginx Configuration for phpMyAdmin](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Nginx Configuration for phpMyAdmin
On Debian 9 server with nginx, i installed phpmyadmin with apt install phpmyadmin For some reason, ip-address/phpmyadmin did not work.
![vShare Nginx Config](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
vShare Nginx Config
Here is Nginx Configuration for vShare youtube clone script # enforce NO www if ($host ~* ^www\.(.*)) { set $host_without_www