This commit is contained in:
parent
5c0c791a9f
commit
5e1af8ae70
|
|
@ -21,6 +21,14 @@
|
||||||
gzip_vary on;
|
gzip_vary on;
|
||||||
gzip_disable "MSIE [1-6]\.";
|
gzip_disable "MSIE [1-6]\.";
|
||||||
|
|
||||||
|
add_header X-Frame-Options ALLOWALL;
|
||||||
|
|
||||||
|
add_header 'Access-Control-Allow-Origin' 'https://${BUSINESS_DOMAIN_FULL}' always;
|
||||||
|
add_header 'Access-Control-Allow-Credentials' 'true' always;
|
||||||
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS' always;
|
||||||
|
add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization, X-Requested-With' always;
|
||||||
|
|
||||||
|
|
||||||
location /{
|
location /{
|
||||||
try_files $uri $uri/ @router;
|
try_files $uri $uri/ @router;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,6 @@ upstream airportService {
|
||||||
server ${AIRPORT_NAME}:9060;
|
server ${AIRPORT_NAME}:9060;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
upstream businessService {
|
||||||
|
server ${BUSINESS_NAME}:9260;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue