Update file default.conf

This commit is contained in:
Mikhail 2023-05-07 19:29:36 +00:00
parent 02166073c4
commit a41170b7f6

@ -22,6 +22,9 @@ server {
add_header Access-Control-Allow-Credentials true always;
}
location /user {
add_header Access-Control-Allow-Origin $http_origin always;
add_header Access-Control-Allow-Credentials true always;
add_header Access-Control-Allow-Headers content-type,authorization always;
proxy_pass http://pena-auth-service:8080;
}
@ -36,6 +39,9 @@ server {
}
location /heruvym/ {
add_header Access-Control-Allow-Origin $http_origin always;
add_header Access-Control-Allow-Credentials true always;
add_header Access-Control-Allow-Headers content-type,authorization always;
proxy_set_header Referer $host;
proxy_set_header Origin $http_origin;
proxy_set_header Connection '';
@ -47,6 +53,9 @@ server {
}
location /strator/ {
add_header Access-Control-Allow-Origin $http_origin always;
add_header Access-Control-Allow-Credentials true always;
add_header Access-Control-Allow-Headers content-type,authorization always;
proxy_pass http://hub-admin-backend-service:8005/;
}
location /feedback/ {