datacap/configure/proxy/nginx.conf
2023-04-03 22:39:38 +08:00

16 lines
469 B
Nginx Configuration File

server {
listen 80;
listen [::]:80;
server_name try.datacap.edurt.io;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 10s;
proxy_send_timeout 60s;
proxy_read_timeout 60s;
proxy_ignore_client_abort on;
proxy_pass http://localhost:9096/;
}
}