uvcorn
This commit is contained in:
+4
-1
@@ -126,6 +126,8 @@ STATICFILES_DIRS = [
|
||||
BASE_DIR / "static",
|
||||
]
|
||||
|
||||
STATIC_ROOT = BASE_DIR / 'staticfiles'
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field
|
||||
|
||||
@@ -134,7 +136,8 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||
|
||||
|
||||
# Security settings for production
|
||||
SECURE_SSL_REDIRECT = True
|
||||
SECURE_SSL_REDIRECT = False
|
||||
USE_TLS = False
|
||||
SECURE_BROWSER_XSS_FILTER = True
|
||||
SECURE_CONTENT_TYPE_NOSNIFF = True
|
||||
CSRF_COOKIE_SECURE = True
|
||||
|
||||
@@ -8,3 +8,4 @@ urlpatterns = [
|
||||
path('robots.txt/', robots),
|
||||
path('doxme/', Doxme.as_view()),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user