Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
img-manager
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Lan
img-manager
Commits
657a0f44
Commit
657a0f44
authored
Mar 11, 2025
by
Ivan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update ssl
parent
d038ac33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
production.rb
config/environments/production.rb
+5
-5
No files found.
config/environments/production.rb
View file @
657a0f44
...
...
@@ -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
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment