forked from gCubeSystem/conductor-setup
removed authorization constraint from health check and fixed host header for backend calls
This commit is contained in:
parent
9cc76a61d5
commit
c1db229a68
|
@ -24,10 +24,16 @@ server {
|
|||
{% if conductor_server_name != conductor_ui_server_name %}
|
||||
# When there is the possibility to separate vhosts for ui and apis as in local-site deployment forward also / to swagger docs
|
||||
location / {
|
||||
proxy_pass http://_conductor-server;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://_conductor-server;
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
location /health {
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://_conductor-server;
|
||||
}
|
||||
|
||||
location /api/ {
|
||||
js_content pep.enforce;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue