Fix management routing

This commit is contained in:
Alexey Safronov 2023-11-21 14:22:45 +04:00
parent b064d127fe
commit a262adcc4e
2 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@ local_ip = socket.gethostbyname_ex(socket.gethostname())[-1][-1]
doceditor = f"{local_ip}:5013"
login = f"{local_ip}:5011"
client = f"{local_ip}:5001"
management = f"{local_ip}:5001"
management = f"{local_ip}:5015"
portal_url = f"http://{local_ip}"
force = False

View File

@ -14,7 +14,8 @@ map $SERVICE_DOCEDITOR $service_doceditor {
map $SERVICE_MANAGEMENT $service_management {
volatile;
$SERVICE_MANAGEMENT $SERVICE_MANAGEMENT;
"" 127.0.0.1:5015;
default $SERVICE_MANAGEMENT;
}
map $SERVICE_API_SYSTEM $service_api_system {