From a5fff8ab0a2b5e61d68181c9c1d701e506203d5a Mon Sep 17 00:00:00 2001 From: AlexanderWollbrink <68860592+AlexanderWollbrink@users.noreply.github.com> Date: Fri, 9 Aug 2024 09:22:12 +0200 Subject: [PATCH] Update nginx.conf: changed resolver again --- projects/aas-portal/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/aas-portal/nginx.conf b/projects/aas-portal/nginx.conf index fff4e73..f20142c 100644 --- a/projects/aas-portal/nginx.conf +++ b/projects/aas-portal/nginx.conf @@ -13,8 +13,6 @@ http { keepalive_timeout 65; client_max_body_size 100M; - resolver 127.0.0.11 ipv6=off; - server { listen 80 default_server; listen [::]:80 default_server; @@ -26,11 +24,14 @@ http { } location /api/ { + resolver 127.0.0.11; proxy_pass http://aas-server:1337; proxy_http_version 1.1; } location /websocket { + resolver 127.0.0.11; + proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade';