diff --git a/projects/aas-portal/nginx.conf b/projects/aas-portal/nginx.conf index 28b4db3..f20142c 100644 --- a/projects/aas-portal/nginx.conf +++ b/projects/aas-portal/nginx.conf @@ -12,7 +12,7 @@ http { sendfile on; keepalive_timeout 65; client_max_body_size 100M; - + server { listen 80 default_server; listen [::]:80 default_server; @@ -24,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';