Skip to content

Commit

Permalink
bugfix: nginx: remove opencloning prefix in proxy (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
manulera authored Feb 6, 2025
1 parent c5ac138 commit c370ee5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nginx/opencloning.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
location ^~ /opencloning {
# Remove the opencloning prefix from the URL before proxying
# Handle both trailing and non-trailing slash cases
rewrite ^/opencloning/?(.*) /$1 break;
# this URL is set by entrypoint script
proxy_pass %OPENCLONING_URL%;
}

0 comments on commit c370ee5

Please sign in to comment.