mirror of
https://github.com/rommapp/romm.git
synced 2026-12-06 15:54:45 +01:00
nginx config fixed
This commit is contained in:
1 parent
6b094da897
commit
daf00aac59
1 file changed
+5
@@ -37,6 +37,11 @@ http {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost/;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
# Backend api calls
|
||||
location /api {
|
||||
rewrite /api/(.*) /$1 break;
|
||||
|
||||
Reference in new issue
Block a user