Skip to content

Commit

Permalink
Try to fix infinite redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
GAsplund committed Aug 12, 2024
1 parent 9b3debc commit 80a7660
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions proxy/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ http {
}

location /${WIKI_PATH} {
# Trailing slash is important, strips the location before forwarding,
# if location is /wiki, a request to /wiki/a would be forwarded to /a
proxy_pass http://wiki/;
proxy_pass http://wiki;
}
}
}

0 comments on commit 80a7660

Please sign in to comment.