秦F103机巢代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
750B

  1. user root;
  2. worker_processes 1;
  3. #error_log logs/error.log;
  4. #error_log logs/error.log notice;
  5. #error_log logs/error.log info;
  6. #pid logs/nginx.pid;
  7. events {
  8. worker_connections 1024;
  9. }
  10. http {
  11. include mime.types;
  12. default_type application/octet-stream;
  13. sendfile on;
  14. keepalive_timeout 65;
  15. server {
  16. listen 8083;
  17. server_name localhost;
  18. client_max_body_size 1024m;
  19. location /v2 {
  20. proxy_pass http://127.0.0.1:8000/v2;
  21. }
  22. location / {
  23. root /root/TH-DNest/web;
  24. index index.html index.htm;
  25. }
  26. error_page 500 502 503 504 /50x.html;
  27. location = /50x.html {
  28. root html;
  29. }
  30. }
  31. }