slash cms
This commit is contained in:
parent
1a9a61bf98
commit
deedaa8b42
@ -41,6 +41,10 @@ http {
|
||||
server 212.193.59.173:8090;
|
||||
}
|
||||
|
||||
upstream cms {
|
||||
server http://212.193.55.249:8045;
|
||||
}
|
||||
|
||||
# server {
|
||||
# listen 8080;
|
||||
# # server_name inno-js.ru;
|
||||
|
@ -22,6 +22,14 @@ location /red-coder/ {
|
||||
proxy_pass http://red_coder/;
|
||||
}
|
||||
|
||||
location /cms/ {
|
||||
# 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://cms/;
|
||||
}
|
||||
|
||||
location /socket.io/ {
|
||||
|
||||
proxy_pass http://websocket;
|
||||
|
Loading…
Reference in New Issue
Block a user