Commit 5e1bb71
committed
Insert Letsencrypt::Middleware dynamically
Since all we have to do is check for force_ssl I don't see why we can't
just do that inside an initialize hook and change the way the middleware
is inserted accordingly.
Maybe I'm missing something obvious. This would reduce the amount of manual
configuration required for this gem.1 parent 72fe5a0 commit 5e1bb71
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
6 | 16 | | |
7 | 17 | | |
8 | 18 | | |
| |||
0 commit comments