Update default.conf

This commit is contained in:
Mikhail 2023-05-07 15:07:31 +00:00
parent 5ce1bc4406
commit e3949280ab

@ -50,6 +50,12 @@ server {
proxy_pass http://hub-admin-backend-service:8005/;
}
location /feedback/ {
if ($request_method = OPTIONS) {
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 always;
return 200;
}
proxy_set_header Host $host;
proxy_pass http://10.6.0.31:8006/;
}