mirror of
https://github.com/rommapp/romm.git
synced 2026-12-05 05:07:31 +01:00
nginx config fixed
This commit is contained in:
@@ -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