Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
🔧 Fix strange issue with brakeman
Browse files Browse the repository at this point in the history
  • Loading branch information
stephannv committed Sep 7, 2022
1 parent b494f42 commit bfadb84
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
require "active_support/core_ext/integer/time"

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

# Settings specified here will take precedence over those in config/application.rb.
config.hosts << "nindika.com"
config.hosts << "www.nindika.com"
Expand Down Expand Up @@ -49,8 +52,7 @@
# config.action_cable.url = 'wss://example.com/cable'
# 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


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

0 comments on commit bfadb84

Please sign in to comment.