14 lines
480 B
Plaintext
14 lines
480 B
Plaintext
1|location ^~/apps/fnmon/ {
|
|
2| proxy_pass http://127.0.0.1:5000/;
|
|
3| proxy_http_version 1.1;
|
|
4| proxy_set_header Host $host;
|
|
5| proxy_set_header X-Real-IP $remote_addr;
|
|
6| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
7| proxy_read_timeout 86400;
|
|
8| proxy_buffering off;
|
|
9|
|
|
10| # SSE support
|
|
11| proxy_set_header Connection '';
|
|
12| chunked_transfer_encoding on;
|
|
13|}
|
|
14| |