This commit is contained in:
Primakov Alexandr Alexandrovich 2021-10-31 15:59:49 +03:00
parent ca2e197799
commit b97a6ac610

16
80.conf
View File

@ -3,21 +3,7 @@ server {
server_name inno-ijl.ru;
# index index.php index.html index.htm index.nginx-debian.html;
# location /api/ {
# # add_header 'Access-Control-Allow-Origin' '*';
# # add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
# # add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
# # add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
# proxy_pass http://backend/;
# }
# location /multystub/ {
# # add_header 'Access-Control-Allow-Origin' '*';
# add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
# add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
# add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
# proxy_pass http://multystub/;
# }
include "parts/api-multystub.conf";
location / {
add_header 'Access-Control-Allow-Origin' '*';