Skip to content

Commit 88fa69a

Browse files
jduss4wkdewey
authored andcommitted
missed a few lines from old configuration
1 parent 72825ba commit 88fa69a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/environments/production.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,7 @@
107107

108108
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
109109
config.force_ssl = true
110+
# Handle STS here instead of Apache, or Rails duplicates header contents
111+
# Also unset cache-control header in HTTPS vhost for same reason
112+
config.ssl_options = { hsts: { preload: true } }
110113
end

0 commit comments

Comments
 (0)