Skip to content

Commit

Permalink
OZ-627: Use variable for proxy pass targets
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliouzbett committed Oct 17, 2024
1 parent 2569af7 commit 97f204b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proxy/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ server {
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://fhir-odoo:8080;
set $fhir-odoo fhir-odoo:8080;
proxy_pass http://$fhir-odoo;
}
}

0 comments on commit 97f204b

Please sign in to comment.