Skip to content

Commit 8e5f68c

Browse files
authored
JOB-56238 Force SSL for rails api template in production (#19)
Set force_ssl to true on production
1 parent 3edfb62 commit 8e5f68c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
4242

4343
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
44-
# config.force_ssl = true
44+
config.force_ssl = true
4545

4646
# Include generic and useful information about system operation, but avoid logging too much
4747
# information to avoid inadvertent exposure of personally identifiable information (PII).

0 commit comments

Comments
 (0)