From 0a928447b0cc007ab540f8f9cc1f1c0936218273 Mon Sep 17 00:00:00 2001 From: primakov Date: Tue, 21 Nov 2023 20:29:52 +0300 Subject: [PATCH] sirius --- 443.conf | 2 +- parts/api-multystub.conf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/443.conf b/443.conf index c81ffa4..a9e1c10 100644 --- a/443.conf +++ b/443.conf @@ -154,7 +154,7 @@ server { include "parts/api-multystub.conf"; include /etc/nginx/snippets/ssl-params.conf; - + location / { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; diff --git a/parts/api-multystub.conf b/parts/api-multystub.conf index 5dfc322..c2fe239 100644 --- a/parts/api-multystub.conf +++ b/parts/api-multystub.conf @@ -38,6 +38,11 @@ location /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/ { proxy_pass http://websocket;