mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 04:50:36 +03:00
Network experiment
This commit is contained in:
parent
01fe367845
commit
7a3ea1bbba
|
@ -10,7 +10,7 @@ server {
|
|||
listen 8000 ssl;
|
||||
ssl_certificate /etc/ssl/private/portal-cert.pem;
|
||||
ssl_certificate_key /etc/ssl/private/portal-key.pem;
|
||||
server_name dev.concept.ru www.dev.concept.ru api.portal.acconcept.ru www.api.portal.acconcept.ru;
|
||||
server_name dev.concept.ru www.dev.concept.ru api.portal.acconcept.ru www.api.portal.acconcept.ru mail.acoconcept.ru www.mail.acoconcept.ru;
|
||||
|
||||
location / {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
@ -30,7 +30,7 @@ server {
|
|||
listen 3000 ssl;
|
||||
ssl_certificate /etc/ssl/private/portal-cert.pem;
|
||||
ssl_certificate_key /etc/ssl/private/portal-key.pem;
|
||||
server_name dev.concept.ru www.dev.concept.ru portal.acconcept.ru www.portal.acconcept.ru;
|
||||
server_name dev.concept.ru www.dev.concept.ru portal.acconcept.ru www.portal.acconcept.ru mail.acoconcept.ru www.mail.acoconcept.ru;
|
||||
|
||||
location / {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Application settings
|
||||
|
||||
ALLOWED_HOSTS=localhost;portal.acconcept.ru;dev.concept.ru
|
||||
CSRF_TRUSTED_ORIGINS=https://dev.concept.ru:3000;https://localhost:3000;https://portal.acconcept.ru:3000
|
||||
CORS_ALLOWED_ORIGINS=https://dev.concept.ru:3000;https://localhost:3000;https://portal.acconcept.ru:3000
|
||||
ALLOWED_HOSTS=localhost;portal.acconcept.ru;dev.concept.ru;mail.acoconcept.ru;
|
||||
CSRF_TRUSTED_ORIGINS=https://dev.concept.ru:3000;https://localhost:3000;https://portal.acconcept.ru;https://mail.acconcept.ru:8081;https://mail.acconcept.ru:8082
|
||||
CORS_ALLOWED_ORIGINS=https://dev.concept.ru:3000;https://localhost:3000;https://portal.acconcept.ru;https://mail.acconcept.ru:8081;https://mail.acconcept.ru:8082
|
||||
|
||||
|
||||
# File locations
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Constants
|
||||
const prod = {
|
||||
backend: 'https://dev.concept.ru:8000',
|
||||
backend: 'https://mail.acconcept.ru:8082',
|
||||
// backend: 'https://dev.concept.ru:8000',
|
||||
// backend: 'https://localhost:8000',
|
||||
// backend: 'https://api.portal.concept.ru',
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user