1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
| upstream nodenuxt { server 127.0.0.1:3000; keepalive 64; } server { listen 80; server_name anikzm.top; location / { proxy_pass http://nodenuxt; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_set_header X-Nginx-Proxy true; proxy_cache_bypass $http_upgrade; proxy_buffers 256 4k; proxy_max_temp_file_size 0; proxy_connect_timeout 30; proxy_cache_valid 200 302 10m; proxy_cache_valid 301 1h; proxy_cache_valid any 1m; } index index.html index.htm default.php default.htm default.html;
error_page 404 /404.html; error_page 502 /502.html;
include /www/server/panel/vhost/rewrite/anikzm.top.conf; location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md) { return 404; }
access_log /www/wwwlogs/anikzm.top.log; error_log /www/wwwlogs/anikzm.top.error.log; }
|