nginx-conf/conf/includes/OI-Metrology-Server.conf
2023-09-18 16:52:17 -07:00

11 lines
314 B
Plaintext

location /api/ {
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;
proxy_pass http://localhost:5002;
proxy_set_header Host $http_host;
proxy_set_header Connection keep-alive;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Forwarded-Proto https;
}
# see pipeline yml