Skip to content

Commit

Permalink
Assume SSL in production
Browse files Browse the repository at this point in the history
  • Loading branch information
qarol committed Jun 4, 2024
1 parent 4835c0d commit f2ada30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

# Assume all access to the app is happening through a SSL-terminating reverse proxy.
# Can be used together with config.force_ssl for Strict-Transport-Security and secure cookies.
# config.assume_ssl = true
config.assume_ssl = true

# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
config.force_ssl = true
Expand Down

0 comments on commit f2ada30

Please sign in to comment.