New applications will be generated with ssl_options to enable HSTS with subdomains

- We will reuse config.ssl_options for setting the HSTS settings.
This commit is contained in:
Prathamesh Sonpatki 2016-02-25 09:42:30 +05:30
parent 6eb3a1b058
commit 00c4ecf38c

@ -0,0 +1,4 @@
# Be sure to restart your server when you modify this file.
# Configure SSL options to enable HSTS with subdomains.
Rails.application.config.ssl_options = { hsts: { subdomains: true } }