|
1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
-
- user root;
- worker_processes 1;
-
- #error_log logs/error.log;
- #error_log logs/error.log notice;
- #error_log logs/error.log info;
-
- #pid logs/nginx.pid;
-
-
- events {
- worker_connections 1024;
- }
-
- http {
- include mime.types;
- default_type application/octet-stream;
-
- sendfile on;
- keepalive_timeout 65;
-
-
- server {
- listen 8083;
- server_name localhost;
- client_max_body_size 1024m;
-
-
- location /v2 {
- proxy_pass http://127.0.0.1:8000/v2;
- }
-
- location / {
- root /root/TH-DNest/web;
- index index.html index.htm;
- }
-
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root html;
- }
- }
- }
|