fix ips
This commit is contained in:
parent
862bf210d4
commit
2ad09ae7bd
4
80.conf
4
80.conf
@ -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 {
|
||||
|
12
nginx.conf
12
nginx.conf
@ -16,19 +16,19 @@ 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 {
|
||||
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user