This commit is contained in:
Primakov Alexandr Alexandrovich 2023-11-21 20:29:52 +03:00
parent a1ede6401f
commit 0a928447b0
2 changed files with 6 additions and 1 deletions

View File

@ -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';

View File

@ -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;