This commit is contained in:
Primakov Alexandr Alexandrovich 2021-06-06 16:50:40 +03:00
parent 862bf210d4
commit 2ad09ae7bd
2 changed files with 9 additions and 9 deletions

View File

@ -24,14 +24,14 @@ server {
server {
listen 80;
# server_name inno-ijl.ru;
server_name inno-ijl.ru;
# index index.php index.html index.htm index.nginx-debian.html;
location / {
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://89.223.91.151:8079/;
proxy_pass http://89.223.94.192:8079/;
}
location /api {

View File

@ -16,24 +16,24 @@ http {
server_names_hash_bucket_size 64;
upstream backend {
server 89.223.91.151:8033;
server 89.223.94.192:8033;
}
upstream multystub {
server 89.223.91.151:8043;
server 89.223.94.192:8043;
}
upstream admin {
server 89.223.91.151:8090;
server 89.223.94.192:8090;
}
upstream chat {
server 89.223.91.151:8081;
server 89.223.94.192:8081;
}
server {
listen 8080;
#server_name inno-ijl.ru;
# server_name inno-ijl.ru;
# index index.php index.html index.htm index.nginx-debian.html;
location / {
@ -41,7 +41,7 @@ http {
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://89.223.91.151:8079/;
proxy_pass http://89.223.94.192:8079/;
}
location /api {
@ -61,7 +61,7 @@ http {
}
}
include ./83-php.conf;
# include ./83-php.conf;
include 3002-apps-static.conf;
include 80.conf;
}