Files
productclients/nginx.conf

27 lines
797 B
Nginx Configuration File
Raw Normal View History

2025-12-30 15:01:31 +01:00
server {
listen 80;
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;
}
2025-12-30 15:27:40 +01:00
location /ProductsRequest {
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
}
2025-12-30 15:27:40 +01:00
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;
}
2025-12-30 15:01:31 +01:00
}