mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
another try with nginx file
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
location /api/ {
|
||||
proxy_pass http://127.0.0.1:5000;
|
||||
proxy_set_header Host $host;
|
||||
server {
|
||||
location /api/ {
|
||||
proxy_pass http://backend:5000;
|
||||
proxy_redirect default;
|
||||
|
||||
proxy_read_timeout 241s;
|
||||
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user