Update troubleshooting.md
This commit is contained in:
1 parent
370e656209
commit
460af1885a
1 file changed
+2
-2
@@ -199,8 +199,8 @@ __Symptom:__ I can't connect to my application because the server is sending an
|
|||||||
|
|
||||||
__Solution:__
|
__Solution:__
|
||||||
|
|
||||||
This can happen when your application is configured to enforce secure connections, but you don't have SSL set up for it.
|
This isn't usually an issue with Dokku, but rather an app config problem. This can happen when your application is configured to enforce secure connections/HSTS, but you don't have SSL set up for the app.
|
||||||
|
|
||||||
In Rails at least, if your `application.rb` or `environmnents/production.rb` include the line `configure.force_ssl = true`, which includes HSTS try commenting that out and redeploying.
|
In Rails at least, if your `application.rb` or `environmnents/production.rb` include the line `configure.force_ssl = true`, which includes HSTS try commenting that out and redeploying.
|
||||||
|
|
||||||
If this solves the issue, longer term you may want to consider [configuring SSL](http://dokku.viewdocs.io/dokku/configuration/ssl/).
|
If this solves the issue temporarily, longer term you should consider [configuring SSL](http://dokku.viewdocs.io/dokku/configuration/ssl/).
|
||||||
Reference in new issue
Block a user