Skip to content

Commit dd47244

Browse files
Merge pull request #282 from rubygems/colby/assume-ssl
Enable assume ssl flag to allow alb healthcheck to pass
2 parents 588d08e + d806231 commit dd47244

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/environments/production.rb

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
4040
config.force_ssl = true
4141

42+
# Assume all access to the app is happening through a SSL-terminating reverse proxy.
43+
# Can be used together with config.force_ssl for Strict-Transport-Security and secure cookies.
44+
config.assume_ssl = true
45+
4246
# Use the lowest log level to ensure availability of diagnostic information
4347
# when problems arise.
4448
config.log_level = :debug

0 commit comments

Comments
 (0)