We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a1c57d + 6c1f4fd commit 643ae05Copy full SHA for 643ae05
1 file changed
src/applications/ssl-certificates.md
@@ -124,6 +124,21 @@ Pay attention to the output. It should print `SSL certificate verify ok`. If it
124
like `common name: www.example.com (does not match 'www.somedomain.com')` then something is not
125
configured correctly.
126
127
+## Enforcing SSL at the Router
128
+
129
+To enforce all HTTP requests be redirected to HTTPS, TLS can be enforced at the router level by
130
+running
131
132
+ $ deis tls:enable -a foo
133
+ Enabling https-only requests for foo... done
134
135
+Users hitting the HTTP endpoint for the application will now receive a 301 redirect to the HTTPS
136
+endpoint.
137
138
+To disable enforced TLS, run
139
140
+ $ deis tls:disable -a foo
141
+ Disabling https-only requests for foo... done
142
143
## Remove Certificate
144
0 commit comments