You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: chapter_09_docker.asciidoc
+53-27Lines changed: 53 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,18 @@
3
3
4
4
.A Note for Early Release Readers
5
5
****
6
-
With Early Release ebooks, you get books in their earliest form—the author's raw and unedited content as they write—so you can take advantage of these technologies long before the official release of these titles.
7
-
8
-
This will be the 9th chapter of the final book. The GitHub repo is available at https://github.com/hjwp/book-example/tree/chapter_09_docker.
9
-
10
-
If you have comments about how we might improve the content and/or examples in this book, or if you notice missing material within this chapter, please reach out to the author at [email protected].
6
+
With Early Release ebooks, you get books in their earliest form--the
7
+
author's raw and unedited content as they write--so
8
+
you can take advantage of these technologies
9
+
long before the official release of these titles.
10
+
11
+
This will be the 9th chapter of the final book.
12
+
The GitHub repo is available at https://github.com/hjwp/book-example/tree/chapter_09_docker.
13
+
14
+
If you have comments about how we might improve the content
15
+
and/or examples in this book,
16
+
or if you notice missing material within this chapter,
Copy file name to clipboardExpand all lines: chapter_10_production_readiness.asciidoc
+40-21Lines changed: 40 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,18 @@
3
3
4
4
.A Note for Early Release Readers
5
5
****
6
-
With Early Release ebooks, you get books in their earliest form—the author's raw and unedited content as they write—so you can take advantage of these technologies long before the official release of these titles.
7
-
8
-
This will be the 10th chapter of the final book. The GitHub repo is available at https://github.com/hjwp/book-example.
9
-
10
-
If you have comments about how we might improve the content and/or examples in this book, or if you notice missing material within this chapter, please reach out to the author at [email protected].
6
+
With Early Release ebooks, you get books in their earliest form--the
7
+
author's raw and unedited content as they write--so
8
+
you can take advantage of these technologies
9
+
long before the official release of these titles.
10
+
11
+
This will be the 10th chapter of the final book.
12
+
The GitHub repo is available at https://github.com/hjwp/book-example/tree/chapter_10_production_readiness
13
+
14
+
If you have comments about how we might improve the content
15
+
and/or examples in this book,
16
+
or if you notice missing material within this chapter,
// somewhere later in the chapter for curious readers?
68
73
74
+
75
+
////
76
+
HARRY
77
+
manage.py check --deploy gives
78
+
WARNINGS:
79
+
?: (security.W004) You have not set a value for the SECURE_HSTS_SECONDS setting. If your entire site is served only over SSL, you may want to consider setting a value and enabling HTTP Strict Transport Security. Be sure to read the documentation first; enabling HSTS carelessly can cause serious, irreversible problems.
80
+
?: (security.W008) Your SECURE_SSL_REDIRECT setting is not set to True. Unless your site should be available over both SSL and non-SSL connections, you may want to either set this setting True or configure a load balancer or reverse-proxy server to redirect all connections to HTTPS.
81
+
?: (security.W009) Your SECRET_KEY has less than 50 characters, less than 5 unique characters, or it's prefixed with 'django-insecure-' indicating that it was generated automatically by Django. Please generate a long and random value, otherwise many of Django's security-critical features will be vulnerable to attack.
82
+
?: (security.W012) SESSION_COOKIE_SECURE is not set to True. Using a secure-only session cookie makes it more difficult for network traffic sniffers to hijack user sessions.
83
+
?: (security.W016) You have 'django.middleware.csrf.CsrfViewMiddleware' in your MIDDLEWARE, but you have not set CSRF_COOKIE_SECURE to True. Using a secure-only CSRF cookie makes it more difficult for network traffic sniffers to steal the CSRF token.
84
+
?: (security.W018) You should not have DEBUG set to True in deployment.
85
+
?: (security.W020) ALLOWED_HOSTS must not be empty in deployment.
0 commit comments