On Ubuntu Server with nginx, ssllabs give B rating for newly installed SSL certificate with a warning related to Diffie-Hellman. To fix this, run Edit nginx.conf and add following inside http block. Example Nginx SSL Nginx
On a wordpress blog hosted under Nginx and php-fpm, when adding new post, get 502 internal error. This is fixed by editing nginx config for the web site by adding Here is the updated nginx config
To enable directory listing in nginx virtual host, add Example If you want to enable directory listing for a specific directory, use following configuration Here /public directory have directory listing enabled. See Nginx
Lets start with install nginx. Restart nginx with command Now you will be able to visit server with IP address, will see default page like Nginx config for default web site is at /etc/nginx/sites-enabled/default, if you remove all comments, it