mirror of
https://github.com/aykhans/series-robot-web.git
synced 2025-04-20 14:01:25 +00:00
Added ALLOWED_HOSTS
This commit is contained in:
parent
2f76621e10
commit
76a09ca3ce
@ -28,7 +28,7 @@ services:
|
|||||||
nginx:
|
nginx:
|
||||||
image: nginx
|
image: nginx
|
||||||
ports:
|
ports:
|
||||||
- "1337:8080"
|
- "80:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/nginx/local.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./config/nginx/local.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
- static_volume:/django_static
|
- static_volume:/django_static
|
||||||
|
@ -3,9 +3,9 @@ from .base import *
|
|||||||
|
|
||||||
DEBUG = True
|
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 = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user