Nginx Config



Nginx Server Block - Before Certbot

December 11, 2023 07:29

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...

Nginx Server Block - After Certbot

December 12, 2023 07:33

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://...

Nginx Server Block - Before Certbot with PHP

December 13, 2023 10:10

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...