Skip to content

Commit

Permalink
Updated default value of SERVER_EXTERNAL_SSL environment setting (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
AzorianMatt committed Apr 12, 2023
2 parents c778004 + 003ee07 commit 8108caf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions configs/development.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
SECRET_KEY = 'e951e5a1f4b94151b360f47edf596dd2'
BIND_ADDRESS = '0.0.0.0'
PORT = 9191
SERVER_EXTERNAL_SSL = None

### DATABASE CONFIG
SQLA_DB_USER = 'pda'
Expand Down
1 change: 1 addition & 0 deletions configs/docker_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Defaults for Docker image
BIND_ADDRESS = '0.0.0.0'
PORT = 80
SERVER_EXTERNAL_SSL = True
SQLALCHEMY_DATABASE_URI = 'sqlite:////data/powerdns-admin.db'
SESSION_COOKIE_SAMESITE = 'Lax'
CSRF_COOKIE_HTTPONLY = True
Expand Down
2 changes: 1 addition & 1 deletion powerdnsadmin/default_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
BIND_ADDRESS = '0.0.0.0'
PORT = 9191
HSTS_ENABLED = False
SERVER_EXTERNAL_SSL = None
SERVER_EXTERNAL_SSL = True

SESSION_TYPE = 'sqlalchemy'
SESSION_COOKIE_SAMESITE = 'Lax'
Expand Down

0 comments on commit 8108caf

Please sign in to comment.