mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
Update network setup
This commit is contained in:
parent
efa1fdef2e
commit
26639fde5b
|
@ -8,9 +8,9 @@ upstream innerreact {
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8000 ssl;
|
listen 8000 ssl;
|
||||||
ssl_certificate /etc/ssl/private/portal-cert.pem;
|
ssl_certificate /etc/ssl/private/front-cert.pem;
|
||||||
ssl_certificate_key /etc/ssl/private/portal-key.pem;
|
ssl_certificate_key /etc/ssl/private/front-key.pem;
|
||||||
server_name dev.concept.ru www.dev.concept.ru api.portal.acconcept.ru www.api.portal.acconcept.ru mail.acconcept.ru www.mail.acconcept.ru;
|
server_name dev.concept.ru www.dev.concept.ru portal.acconcept.ru www.portal.acconcept.ru api.portal.acconcept.ru www.api.portal.acconcept.ru mail.acconcept.ru www.mail.acconcept.ru;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
@ -28,8 +28,8 @@ server {
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 3000 ssl;
|
listen 3000 ssl;
|
||||||
ssl_certificate /etc/ssl/private/portal-cert.pem;
|
ssl_certificate /etc/ssl/private/front-cert.pem;
|
||||||
ssl_certificate_key /etc/ssl/private/portal-key.pem;
|
ssl_certificate_key /etc/ssl/private/front-key.pem;
|
||||||
server_name dev.concept.ru www.dev.concept.ru portal.acconcept.ru www.portal.acconcept.ru mail.acconcept.ru www.mail.acconcept.ru;
|
server_name dev.concept.ru www.dev.concept.ru portal.acconcept.ru www.portal.acconcept.ru mail.acconcept.ru www.mail.acconcept.ru;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# Application settings
|
# Application settings
|
||||||
|
|
||||||
ALLOWED_HOSTS=localhost;portal.acconcept.ru;dev.concept.ru;mail.acconcept.ru;
|
ALLOWED_HOSTS=localhost;portal.acconcept.ru;dev.concept.ru;mail.acconcept.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;
|
CSRF_TRUSTED_ORIGINS=https://dev.concept.ru:3000;https://localhost:3000;https://portal.acconcept.ru;https://portal.acconcept.ru:8081;https://mail.acconcept.ru:8081;
|
||||||
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;
|
CORS_ALLOWED_ORIGINS=https://dev.concept.ru:3000;https://localhost:3000;https://portal.acconcept.ru;https://portal.acconcept.ru:8081;https://mail.acconcept.ru:8081;
|
||||||
|
|
||||||
|
|
||||||
# File locations
|
# File locations
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Constants
|
// Constants
|
||||||
const prod = {
|
const prod = {
|
||||||
backend: 'https://mail.acconcept.ru:8082',
|
backend: 'https://portal.acconcept.ru:8082',
|
||||||
// backend: 'https://dev.concept.ru:8000',
|
// backend: 'https://dev.concept.ru:8000',
|
||||||
// backend: 'https://localhost:8000',
|
// backend: 'https://localhost:8000',
|
||||||
// backend: 'https://api.portal.concept.ru',
|
// backend: 'https://api.portal.concept.ru',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user