Compare commits
3 Commits
back-to-ht
...
http
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a9a61bf98 | |||
| f858c7949d | |||
| 19b937f45a |
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-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://212.193.59.173:8078/;
|
proxy_pass http://212.193.59.173:8078/;
|
||||||
proxy_pass http://35.193.122.195/;
|
# proxy_pass http://35.193.122.195/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
4
80.conf
4
80.conf
@@ -57,8 +57,8 @@ server {
|
|||||||
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://212.193.59.173:8078/;
|
proxy_pass http://212.193.59.173:8078/;
|
||||||
proxy_pass http://35.193.122.195/;
|
# proxy_pass http://35.193.122.195/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,10 @@ http {
|
|||||||
server 212.193.59.173:8043;
|
server 212.193.59.173:8043;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
upstream red_coder {
|
||||||
|
server 212.193.59.173:8045;
|
||||||
|
}
|
||||||
|
|
||||||
upstream admin {
|
upstream admin {
|
||||||
server 212.193.59.173:8090;
|
server 212.193.59.173:8090;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,14 @@ location /multystub/ {
|
|||||||
proxy_pass http://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/ {
|
location /socket.io/ {
|
||||||
|
|
||||||
proxy_pass http://websocket;
|
proxy_pass http://websocket;
|
||||||
|
|||||||
Reference in New Issue
Block a user