fix ips
This commit is contained in:
parent
862bf210d4
commit
2ad09ae7bd
4
80.conf
4
80.conf
@ -24,14 +24,14 @@ server {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
# 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 / {
|
location / {
|
||||||
add_header 'Access-Control-Allow-Origin' '*';
|
add_header 'Access-Control-Allow-Origin' '*';
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
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-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';
|
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 {
|
location /api {
|
||||||
|
14
nginx.conf
14
nginx.conf
@ -16,24 +16,24 @@ http {
|
|||||||
server_names_hash_bucket_size 64;
|
server_names_hash_bucket_size 64;
|
||||||
|
|
||||||
upstream backend {
|
upstream backend {
|
||||||
server 89.223.91.151:8033;
|
server 89.223.94.192:8033;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream multystub {
|
upstream multystub {
|
||||||
server 89.223.91.151:8043;
|
server 89.223.94.192:8043;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream admin {
|
upstream admin {
|
||||||
server 89.223.91.151:8090;
|
server 89.223.94.192:8090;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream chat {
|
upstream chat {
|
||||||
server 89.223.91.151:8081;
|
server 89.223.94.192:8081;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8080;
|
listen 8080;
|
||||||
#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 / {
|
location / {
|
||||||
@ -41,7 +41,7 @@ http {
|
|||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
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-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';
|
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 {
|
location /api {
|
||||||
@ -61,7 +61,7 @@ http {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
include ./83-php.conf;
|
# include ./83-php.conf;
|
||||||
include 3002-apps-static.conf;
|
include 3002-apps-static.conf;
|
||||||
include 80.conf;
|
include 80.conf;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user