Skip to content

Commit 7c6a793

Browse files
author
Derek Hammer
committed
Dont try to force ssl
1 parent c75ce6b commit 7c6a793

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

config/environments/production.rb

-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@
4242
# Store uploaded files on the local file system (see config/storage.yml for options).
4343
config.active_storage.service = :local
4444

45-
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
46-
config.force_ssl = true
47-
config.ssl_options = { redirect: { exclude: ->(request) { request.path =~ /status/ } } }
48-
4945
# Include generic and useful information about system operation, but avoid logging too much
5046
# information to avoid inadvertent exposure of personally identifiable information (PII).
5147
config.log_level = :info

k8s/charts/newtxi/templates/app.yml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ metadata:
55
name: newtxi
66
annotations:
77
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http
8-
service.beta.kubernetes.io/aws-load-balancer-healthcheck-path: /status
98
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:us-west-2:713548166849:certificate/812c5e03-0d22-4684-b47b-a864219d398b
109
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "https"
1110
spec:

0 commit comments

Comments
 (0)