We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 588d08e + d806231 commit dd47244Copy full SHA for dd47244
config/environments/production.rb
@@ -39,6 +39,10 @@
39
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
40
config.force_ssl = true
41
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
+
46
# Use the lowest log level to ensure availability of diagnostic information
47
# when problems arise.
48
config.log_level = :debug
0 commit comments