Update default.conf
This commit is contained in:
parent
3e742d6e37
commit
c884c1f52d
24
default.conf
24
default.conf
@ -1,3 +1,15 @@
|
||||
|
||||
upstream verificationv0 {
|
||||
server 10.8.0.6:7035;
|
||||
}
|
||||
|
||||
upstream verificationv1.0.0 {
|
||||
server 10.8.0.6:7036;
|
||||
}
|
||||
|
||||
map $uri $service {
|
||||
~^/([^/]+).*$ $1;
|
||||
}
|
||||
server {
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
@ -285,18 +297,6 @@ server {
|
||||
proxy_pass https://storage.yandexcloud.net;
|
||||
}
|
||||
|
||||
upstream verificationv0 {
|
||||
server 10.8.0.6:7035;
|
||||
}
|
||||
|
||||
upstream verificationv1.0.0 {
|
||||
server 10.8.0.6:7036;
|
||||
}
|
||||
|
||||
map $uri $service {
|
||||
~^/([^/]+).*$ $1;
|
||||
}
|
||||
|
||||
location /verification/ {
|
||||
if ($request_method = OPTIONS) {
|
||||
add_header Access-Control-Allow-Origin $http_origin always;
|
||||
|
Loading…
Reference in New Issue
Block a user