Skip to content

Commit

Permalink
Force SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Jan 10, 2025
1 parent 9cd5745 commit 314950a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
# config.assume_ssl = true

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

# Skip http-to-https redirect for the default health check endpoint.
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }

Expand Down

0 comments on commit 314950a

Please sign in to comment.