diff --git a/admin.conf b/admin.conf index 677b3bc..51206ed 100644 --- a/admin.conf +++ b/admin.conf @@ -63,21 +63,6 @@ server { proxy_pass http://10.8.0.6:59300/; } - 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,sess always; - add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE; - proxy_set_header Referer $host; - proxy_set_header Origin $http_origin; - proxy_set_header Connection ''; - proxy_http_version 1.1; - chunked_transfer_encoding off; - proxy_buffering off; - proxy_cache off; - proxy_pass https://10.8.0.6:1488/; - } - location /heruvym/v1.0.0/ { add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Credentials true always; @@ -90,7 +75,9 @@ server { chunked_transfer_encoding off; proxy_buffering off; proxy_cache off; - proxy_pass https://10.8.0.6:1487/; + + proxy_pass http://10.7.0.6:1487/; + } location /strator/ {