Skip to content

Commit

Permalink
ci: Fix nginx config for preview environment (#2542)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza committed Apr 2, 2024
1 parent 931942e commit e6a65b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx-uffizzi/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ http {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://localhost:4040/dashboard/;
proxy_pass http://localhost:4040;
proxy_ssl_session_reuse off;
proxy_set_header Host $http_host;
proxy_redirect off;
Expand All @@ -29,7 +29,7 @@ http {
proxy_set_header X-Real-IP $remote_addr;
keepalive_requests 10;
keepalive_timeout 75s;
proxy_pass http://localhost:1337/parse/;
proxy_pass http://localhost:1337;
proxy_http_version 1.1;
}
}
Expand Down

0 comments on commit e6a65b2

Please sign in to comment.