Skip to content

Commit

Permalink
reroute backoffice to /administration
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Oct 14, 2024
1 parent e9be538 commit 05540f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions infrastructure/source_bundle/proxy/conf.d/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ upstream client {
}

upstream admin {
server admin:1000;
server administration:1000;
}

server {
Expand Down Expand Up @@ -41,9 +41,9 @@ server {
proxy_pass_request_headers on;
client_max_body_size 200m;
}
location /admin/ {
rewrite ^/admin/?(.*)$ /$1 break;
proxy_pass http://admin;
location /administration/ {
rewrite ^/administration/?(.*)$ /$1 break;
proxy_pass http://administration;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
Expand Down

0 comments on commit 05540f0

Please sign in to comment.