nginx default config file is fully commented with explanations

This commit is contained in:
hugo gogo
2022-08-31 13:58:34 +02:00
parent f03422ab4f
commit 2967738e7a
7 changed files with 79 additions and 46 deletions

View File

@@ -1,4 +1,8 @@
server {
# http uses port 80, and https uses port 443
listen 443 ssl; # for ipv4.
listen [::]:443 ssl; # for ipv6.
server_name localhost;
location / {
root /data/www;