fix
This commit is contained in:
parent
ca2e197799
commit
b97a6ac610
16
80.conf
16
80.conf
@ -3,21 +3,7 @@ server {
|
|||||||
server_name inno-ijl.ru;
|
server_name inno-ijl.ru;
|
||||||
# index index.php index.html index.htm index.nginx-debian.html;
|
# index index.php index.html index.htm index.nginx-debian.html;
|
||||||
|
|
||||||
# location /api/ {
|
include "parts/api-multystub.conf";
|
||||||
# # 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/;
|
|
||||||
# }
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
add_header 'Access-Control-Allow-Origin' '*';
|
add_header 'Access-Control-Allow-Origin' '*';
|
||||||
|
Loading…
Reference in New Issue
Block a user