test-node.conf 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # server {
  2. # listen 8888 ;
  3. # listen 443 ssl http2;
  4. # server_name zhanganqi.com;
  5. #charset koi8-r;
  6. # access_log /var/log/nginx/zhanganqi.com.access.log main;
  7. # error_log /var/log/nginx/zhanganqi.com.error.log warn;
  8. #error_page 404 /404.html;
  9. # ssl_certificate /ssl/a.com/a.com.cer;
  10. # ssl_certificate_key /ssl/a.com/a.com.key;
  11. # redirect server error pages to the static page /50x.html
  12. #
  13. # error_page 500 502 503 504 /50x.html;
  14. # location = /50x.html {
  15. # root /usr/share/nginx/html;
  16. # }
  17. #
  18. # location / {
  19. # proxy_pass http://node:7001;
  20. # proxy_set_header Host $host:$server_port;
  21. # proxy_set_header X-Forwarded-Host $server_name;
  22. # proxy_set_header X-Real-IP $remote_addr;
  23. # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  24. # }
  25. # deny access to .htaccess files, if Apache's document root
  26. # concurs with nginx's one
  27. #
  28. #location ~ /\.ht {
  29. # deny all;
  30. #}
  31. # }