mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
remove alert from nginx
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user