sirius
This commit is contained in:
parent
a1ede6401f
commit
0a928447b0
2
443.conf
2
443.conf
@ -154,7 +154,7 @@ server {
|
|||||||
include "parts/api-multystub.conf";
|
include "parts/api-multystub.conf";
|
||||||
|
|
||||||
include /etc/nginx/snippets/ssl-params.conf;
|
include /etc/nginx/snippets/ssl-params.conf;
|
||||||
|
|
||||||
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';
|
||||||
|
@ -38,6 +38,11 @@ location /cms/ {
|
|||||||
proxy_pass http://cms/;
|
proxy_pass http://cms/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /sirius-x/attendance/ {
|
||||||
|
proxy_pass http://sirius.inno-js.ru:3002/;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
}
|
||||||
|
|
||||||
location /socket.io/ {
|
location /socket.io/ {
|
||||||
|
|
||||||
proxy_pass http://websocket;
|
proxy_pass http://websocket;
|
||||||
|
Loading…
Reference in New Issue
Block a user