test
This commit is contained in:
@@ -222,6 +222,17 @@ server {
|
|||||||
|
|
||||||
client_max_body_size 100m;
|
client_max_body_size 100m;
|
||||||
|
|
||||||
|
location /api/ {
|
||||||
|
proxy_pass http://127.0.0.1:8281;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
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_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_read_timeout 300s;
|
||||||
|
proxy_send_timeout 300s;
|
||||||
|
}
|
||||||
|
|
||||||
location = /nginx-health {
|
location = /nginx-health {
|
||||||
access_log off;
|
access_log off;
|
||||||
default_type text/plain;
|
default_type text/plain;
|
||||||
|
|||||||
Reference in New Issue
Block a user