local (247B)
1 2 server { 3 listen 80; 4 server_name archer.; 5 root /www/jb55/public; 6 index index.html index.htm; 7 8 location / { 9 try_files $uri $uri/ =404; 10 } 11 } 12 13 server { 14 listen 80; 15 server_name www.archer.; 16 return 301 https://archer.$request_uri; 17 }