Skip to content

Commit 3136d00

Browse files
Merge pull request #234 from datacite/remove_force_ssl
Disable force_ssl
2 parents 0baee09 + 285c057 commit 3136d00

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

config/environments/production.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
# config.assume_ssl = true
3636

3737
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
38-
config.force_ssl = true
38+
# NOTE: DataCite specific: This should not be enabled unless infrastructure has changed, ssl is handled via the load balancer proxy
39+
# config.force_ssl = true
3940

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

0 commit comments

Comments
 (0)