remove alert from nginx

This commit is contained in:
Simon Larsen
2023-06-07 10:47:40 +01:00
parent 77ac490b71
commit 0eb28ee669

View File

@@ -26,10 +26,6 @@ upstream probe-api {
server probe-api:3400 weight=10 max_fails=3 fail_timeout=30s;
}
upstream alert {
server alert:3088 weight=10 max_fails=3 fail_timeout=30s;
}
upstream dashboard {
server dashboard:3009 weight=10 max_fails=3 fail_timeout=30s;
}
@@ -278,21 +274,6 @@ server {
proxy_pass http://api-reference;
}
location /alert {
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;
# enable WebSockets (for ws://sockjs not connected error in the accounts source: https://stackoverflow.com/questions/41381444/websocket-connection-failed-error-during-websocket-handshake-unexpected-respon)
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://alert;
}
location /file {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;