We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70b117e commit e082901Copy full SHA for e082901
README.md
@@ -45,6 +45,21 @@ Rails.application.configure do
45
end
46
```
47
48
+If you have configured your app to enforce SSL with the configuration option
49
+`config.force_ssl = true` you will need to insert the middleware in front of
50
+the middleware performing that enforcement instead, as LetsEncrypt do not allow
51
+redirects on their verification requests:
52
+
53
+```ruby
54
+Rails.application.configure do
55
+ # <...>
56
57
+ config.middleware.insert_before ActionDispatch::SSL, Letsencrypt::Middleware
58
59
60
+end
61
+```
62
63
## Configuring
64
65
By default the gem will try to use the following set of configuration variables,
0 commit comments