mirror of
https://github.com/aykhans/series-robot-web.git
synced 2025-04-21 06:13:34 +00:00
Added ALLOWED_HOSTS
This commit is contained in:
parent
2f76621e10
commit
76a09ca3ce
@ -28,7 +28,7 @@ services:
|
||||
nginx:
|
||||
image: nginx
|
||||
ports:
|
||||
- "1337:8080"
|
||||
- "80:8080"
|
||||
volumes:
|
||||
- ./config/nginx/local.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- static_volume:/django_static
|
||||
|
@ -3,9 +3,9 @@ from .base import *
|
||||
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
ALLOWED_HOSTS = ['www.series-notification.online', 'www.series-notification.online', '130.61.19.69']
|
||||
|
||||
CSRF_TRUSTED_ORIGINS=['http://127.0.0.1:1337']
|
||||
# CSRF_TRUSTED_ORIGINS=['http://127.0.0.1:80']
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
|
Loading…
x
Reference in New Issue
Block a user