Skip to content

Commit e6a65b2

Browse files
authored
ci: Fix nginx config for preview environment (#2542)
1 parent 931942e commit e6a65b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nginx-uffizzi/nginx.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ http {
1717
proxy_set_header X-Real-IP $remote_addr;
1818
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
1919
proxy_set_header X-NginX-Proxy true;
20-
proxy_pass http://localhost:4040/dashboard/;
20+
proxy_pass http://localhost:4040;
2121
proxy_ssl_session_reuse off;
2222
proxy_set_header Host $http_host;
2323
proxy_redirect off;
@@ -29,7 +29,7 @@ http {
2929
proxy_set_header X-Real-IP $remote_addr;
3030
keepalive_requests 10;
3131
keepalive_timeout 75s;
32-
proxy_pass http://localhost:1337/parse/;
32+
proxy_pass http://localhost:1337;
3333
proxy_http_version 1.1;
3434
}
3535
}

0 commit comments

Comments
 (0)