Files
productclients/nginx.conf

16 lines
315 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:17:56 +01:00
location /api/ {
proxy_pass http://192.168.2.186:9090/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
2025-12-30 15:01:31 +01:00
}
}