mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
24 lines
537 B
Plaintext
24 lines
537 B
Plaintext
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
|
|
root /var/www/html/diagnostic;
|
|
|
|
index index.html index.htm index.nginx-debian.html;
|
|
|
|
server_name _;
|
|
|
|
proxy_buffering off;
|
|
proxy_request_buffering off;
|
|
proxy_socket_keepalive on;
|
|
proxy_http_version 1.1;
|
|
proxy_read_timeout 1800;
|
|
|
|
location /rpc/ {
|
|
proxy_pass http://127.0.0.1:5959/;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
} |