Permalink
Browse files

remove django-secure (no https at the moment)

  • Loading branch information...
1 parent f5e1f3e commit b4f9e4c78e440660d73d92ef9895dc09aaa32cae @mfa mfa committed Sep 4, 2014
Showing with 9 additions and 8 deletions.
  1. +1 −0 krprj/osm/models.py
  2. +8 −8 krprj/settings/default.py
View
@@ -7,6 +7,7 @@
from datetime import datetime
from django.utils.timezone import utc
+
class KircheOsm(models.Model):
osm_id = models.BigIntegerField(db_index=True)
TYPE_CHOICES = (
@@ -131,7 +131,7 @@
'djcelery',
'compressor',
'compressor_celery',
- 'djangosecure',
+# 'djangosecure',
'krprj.krunite',
'krprj.osm',
@@ -178,12 +178,12 @@
X_FRAME_OPTIONS = 'DENY'
# django-secure
-SESSION_COOKIE_SECURE = True
-SECURE_HSTS_SECONDS = 1
-SECURE_HSTS_INCLUDE_SUBDOMAINS = True
-SECURE_FRAME_DENY = True
-SECURE_CONTENT_TYPE_NOSNIFF = True
-SECURE_BROWSER_XSS_FILTER = True
-SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTOCOL", "https")
+#SESSION_COOKIE_SECURE = True
+#SECURE_HSTS_SECONDS = 1
+#SECURE_HSTS_INCLUDE_SUBDOMAINS = True
+#SECURE_FRAME_DENY = True
+#SECURE_CONTENT_TYPE_NOSNIFF = True
+#SECURE_BROWSER_XSS_FILTER = True
+#SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTOCOL", "https")
ALLOWED_HOSTS = ('.kirchenreich.org', '141.58.160.16', '/fs/web/kirchenreich/var/run/gunicorn.sock:80', '127.0.0.1')

0 comments on commit b4f9e4c

Please sign in to comment.