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 0f6d0bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infrastructure/source_bundle/proxy/conf.d/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ upstream client {
server client:3000;
}

upstream admin {
server admin:1000;
upstream backoffice {
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 0f6d0bd

Please sign in to comment.