nginx default config file is fully commented with explanations
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user