2025-12-30 15:01:31 +01:00
|
|
|
server {
|
|
|
|
|
listen 80;
|
|
|
|
|
|
2026-01-12 11:16:52 +01:00
|
|
|
location / {
|
2025-12-30 15:17:56 +01:00
|
|
|
root /usr/share/nginx/html;
|
|
|
|
|
index index.html;
|
2025-12-30 15:01:31 +01:00
|
|
|
try_files $uri $uri/ /index.html;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-07 14:31:29 +01:00
|
|
|
location /produktApi/ProductsRequest {
|
2025-12-30 15:27:40 +01:00
|
|
|
proxy_pass http://192.168.2.186:9090/ProductsRequest;
|
|
|
|
|
|
2025-12-30 15:17:56 +01:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
2025-12-30 15:27:40 +01:00
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
2025-12-30 15:01:31 +01:00
|
|
|
}
|
2026-01-07 14:31:29 +01:00
|
|
|
location /produktApi/CalculateRequest {
|
2026-01-07 13:07:30 +01:00
|
|
|
proxy_pass http://192.168.2.186:9090/CalculateRequest;
|
2025-12-30 15:27:40 +01:00
|
|
|
|
2026-01-07 13:07:30 +01:00
|
|
|
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;
|
|
|
|
|
}
|
2025-12-30 15:01:31 +01:00
|
|
|
}
|