nginx config fixed

This commit is contained in:
zurdi zurdo
2023-03-23 20:13:27 +01:00
parent 6b094da897
commit daf00aac59

View File

@@ -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;