Nginx Proxy verbessert
All checks were successful
Angular Build & Deploy / deploy (push) Successful in 44s

This commit is contained in:
2025-12-30 15:27:40 +01:00
parent 10c9f7cbec
commit 98746f0d2e

View File

@@ -7,9 +7,20 @@ server {
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass http://192.168.2.186:9090/;
location /ProductsRequest {
proxy_pass http://192.168.2.186:9090/ProductsRequest;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /CalculateRequest {
proxy_pass http://192.168.2.186:9090/CalculateRequest;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}