mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-12-05 21:48:58 +08:00
16 lines
469 B
Nginx Configuration File
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/;
|
|
}
|
|
} |