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 Tricks […]

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

[…]

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…