Skip to content

Commit

Permalink
route to backoffice service in nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Dec 4, 2024
1 parent d19ad9e commit 27c6eb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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 backoffice:1000;
}

server {
Expand Down Expand Up @@ -42,7 +42,7 @@ server {
client_max_body_size 200m;
}
location /admin/ {
proxy_pass http://admin;
proxy_pass http://backoffice;
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 27c6eb9

Please sign in to comment.