1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| server { listen 80 default_server; listen [::]:80 default_server; server_name _; root /usr/share/nginx/html/hexo/public;
# Load configuration files for the default server block. include /etc/nginx/default.d/*.conf;
location / { index index.php index.html index.htm; proxy_pass http://127.0.0.1:4000; }
error_page 404 /404.html; location = /40x.html { }
error_page 500 502 503 504 /50x.html; location = /50x.html { } }
|