Reference server block for getting Nginx running in order to execute Certbot and aquire SSL certificates. server {listen 80;listen [::]:80;server_name example.com;root /var/www/example.com;index in...
Here is an example of a basic Nginx server block, after modification by Certbot. server {server_name example.com;root /var/www/example.com;index index.html index.htm; location / {proxy_pass http://...
Example Nginx server block including PHP, before SSL setup with Certbot. server {listen 80;listen [::]:80;server_name example.com;root /var/www/example.com;index index.html index.htm index.php; loc...