Skip to content

Commit 314950a

Browse files
committed
Force SSL
1 parent 9cd5745 commit 314950a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/environments/production.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
# config.assume_ssl = true
5050

5151
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
52-
# config.force_ssl = true
52+
config.force_ssl = true
53+
5354
# Skip http-to-https redirect for the default health check endpoint.
5455
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
5556

0 commit comments

Comments
 (0)