Skip to content

Commit

Permalink
Update nginx.conf: changed resolver again
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWollbrink authored Aug 9, 2024
1 parent 2d97517 commit a5fff8a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projects/aas-portal/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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';
Expand Down

0 comments on commit a5fff8a

Please sign in to comment.