mirror of
https://git.isptech.ru/ISPsystem/isp-maintenance.git
synced 2025-09-13 18:43:09 +02:00
Create: api handlers
This commit is contained in:
10
isp_maintenance/settings/api.py
Normal file
10
isp_maintenance/settings/api.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from settings.platform import PLATFORM_TYPE
|
||||
|
||||
# Name of nginx container:
|
||||
INPUT_HOSTNAME = 'input' if PLATFORM_TYPE == 'vm' else 'dci_input_1'
|
||||
|
||||
# Port that nginx container is listening:
|
||||
INPUT_PORT = '1500'
|
||||
|
||||
# Headers for internal auth:
|
||||
HEADERS = {"Internal-Auth": "on", "Accept": "application/json"}
|
Reference in New Issue
Block a user