summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseney300 <Arseney300@gmail.com>2026-02-20 09:25:02 +0700
committerArseney300 <Arseney300@gmail.com>2026-02-20 09:25:02 +0700
commit635eb47d5561cd2f47969069263d37f897deb982 (patch)
tree49c8bc4f7c0c26d041f934d44bb9a89b900cc989
parent899c6cb9ba7736216ba45ec5cc48f370b975aa7f (diff)
Fix jenkins.swave.lol double prefix causing 404
The subdomain proxy was passing /jenkins to Jenkins which already adds the prefix via --prefix=/jenkins, resulting in /jenkinsjenkins/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
-rw-r--r--nginx/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 48695b9..b110783 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -113,7 +113,7 @@ server {
charset utf-8;
location / {
- proxy_pass http://jenkins:8080/jenkins;
+ proxy_pass http://jenkins:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;