12 lines
364 B
Plaintext
12 lines
364 B
Plaintext
# Inside an existing HTTPS server block; preserve /pcb/ paths.
|
|
location = /pcb { return 302 /pcb/; }
|
|
location /pcb/ {
|
|
proxy_pass http://127.0.0.1:5180;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header Origin $http_origin;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_buffering off;
|
|
proxy_read_timeout 3600s;
|
|
}
|