From 0eb28ee6691b4bb3d69a095d7a743c39b29eebf7 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Wed, 7 Jun 2023 10:47:40 +0100 Subject: [PATCH] remove alert from nginx --- Nginx/default.tpl.conf | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/Nginx/default.tpl.conf b/Nginx/default.tpl.conf index 110e4124d9..814ced4b13 100644 --- a/Nginx/default.tpl.conf +++ b/Nginx/default.tpl.conf @@ -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;