Update default.conf
This commit is contained in:
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/;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user