Skip to content

Commit

Permalink
Change SSL configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Jan 16, 2024
1 parent 8f889c7 commit 371694c
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 @@ -42,7 +42,8 @@
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]

# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true
config.force_ssl = true
config.ssl_options = { redirect: { exclude: ->(request) { request.path =~ /health_check/ } } }

# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.
Expand Down

0 comments on commit 371694c

Please sign in to comment.