Skip to content
Snippets Groups Projects
Commit e2de87b9 authored by root's avatar root
Browse files

Agregando CSRF para reverse proxy

parent 877fb3ee
Branches master
No related tags found
No related merge requests found
...@@ -23,10 +23,10 @@ BASE_DIR = Path(__file__).resolve().parent.parent ...@@ -23,10 +23,10 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = "django-insecure-_o%po&$34xrap75r9_=n)ln7-vwnem9md@7mi$xqzqfgy_6z64" SECRET_KEY = "django-insecure-_o%po&$34xrap75r9_=n)ln7-vwnem9md@7mi$xqzqfgy_6z64"
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = False
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ["192.168.1.29","adana.popsolutions.co"]
CSRF_TRUSTED_ORIGINS = ["https://adana.popsolutions.co", "https://www.adana.popsolutions.co"]
# Application definition # Application definition
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment