Commit 657a0f44 by Ivan

fix: update ssl

parent d038ac33
......@@ -24,14 +24,14 @@ Rails.application.configure do
# Store uploaded files on the local file system (see config/storage.yml for options).
config.active_storage.service = :local
# 暂时禁用SSL设置,简化部署
config.assume_ssl = false
# # 暂时禁用SSL设置,简化部署
# config.assume_ssl = false
# 禁用强制SSL,方便调试
config.force_ssl = false
# # 禁用强制SSL,方便调试
# config.force_ssl = false
# Skip http-to-https redirect for health check endpoints.
config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" || request.path == "/health_check" || request.path == "/session/new" } } }
config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" || request.path == "/health_check" } } }
# Log to STDOUT with the current request id as a default log tag.
config.log_tags = [ :request_id ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment