Skip to content

Commit 8c09cb0

Browse files
authored
Changes to force the application to use ssl. (#184)
1 parent 3aba315 commit 8c09cb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/environments/production.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@
4545
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
4646

4747
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
48-
# config.force_ssl = true
4948

49+
config.force_ssl = true
50+
config.ssl_options = { hsts: false }
5051
# Use the lowest log level to ensure availability of diagnostic information
5152
# when problems arise.
5253
config.log_level = :debug

0 commit comments

Comments
 (0)