Compare commits
1 Commits
http
...
back-to-ht
| Author | SHA1 | Date | |
|---|---|---|---|
| ad61fcfa22 |
4
443.conf
4
443.conf
@@ -65,8 +65,8 @@ server {
|
||||
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://212.193.59.173:8078/;
|
||||
# proxy_pass http://35.193.122.195/;
|
||||
# proxy_pass http://212.193.59.173:8078/;
|
||||
proxy_pass http://35.193.122.195/;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
30
80.conf
30
80.conf
@@ -57,8 +57,8 @@ server {
|
||||
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://212.193.59.173:8078/;
|
||||
# proxy_pass http://35.193.122.195/;
|
||||
# proxy_pass http://212.193.59.173:8078/;
|
||||
proxy_pass http://35.193.122.195/;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -111,23 +111,23 @@ server {
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
# listen 443 ssl http2;
|
||||
# listen [::]:443 ssl http2;
|
||||
# server {
|
||||
# listen 80;
|
||||
# # listen 443 ssl http2;
|
||||
# # listen [::]:443 ssl http2;
|
||||
|
||||
server_name old.admin.inno-js.ru;
|
||||
# server_name old.admin.inno-js.ru;
|
||||
|
||||
# ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
||||
# ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
|
||||
# ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
||||
# # ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
|
||||
# # ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
|
||||
# # ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
||||
|
||||
# include /etc/nginx/snippets/ssl-params.conf;
|
||||
# # include /etc/nginx/snippets/ssl-params.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://admin/;
|
||||
}
|
||||
}
|
||||
# location / {
|
||||
# proxy_pass http://admin/;
|
||||
# }
|
||||
# }
|
||||
|
||||
# server {
|
||||
# listen 80;
|
||||
|
||||
@@ -33,10 +33,6 @@ http {
|
||||
server 212.193.59.173:8043;
|
||||
}
|
||||
|
||||
upstream red_coder {
|
||||
server 212.193.59.173:8045;
|
||||
}
|
||||
|
||||
upstream admin {
|
||||
server 212.193.59.173:8090;
|
||||
}
|
||||
@@ -74,7 +70,7 @@ http {
|
||||
# include ./83-php.conf;
|
||||
# include 3002-apps-static.conf;
|
||||
include 80.conf;
|
||||
include 443.conf;
|
||||
# include 443.conf;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -14,14 +14,6 @@ location /multystub/ {
|
||||
proxy_pass http://multystub/;
|
||||
}
|
||||
|
||||
location /red-coder/ {
|
||||
# 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://red_coder/;
|
||||
}
|
||||
|
||||
location /socket.io/ {
|
||||
|
||||
proxy_pass http://websocket;
|
||||
|
||||
Reference in New Issue
Block a user