Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
nginx-proxy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
nginx-proxy
Commits
d086332e
Commit
d086332e
authored
Jul 18, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve cache again
parent
09896e8c
Pipeline
#39163
passed with stages
in 2 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
views/nginx.conf.mustache
views/nginx.conf.mustache
+3
-1
No files found.
views/nginx.conf.mustache
View file @
d086332e
...
@@ -65,7 +65,7 @@ http {
...
@@ -65,7 +65,7 @@ http {
log_format vcombined '$host:$server_port '
log_format vcombined '$host:$server_port '
'$remote_addr - $remote_user [$time_local] '
'$remote_addr - $remote_user [$time_local] '
'"$request_method $scheme://$host$request_uri" $status $body_bytes_sent '
'"$request_method $scheme://$host$request_uri" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" "$upstream_cache_status" "$upstream_http_cache_control"';
'"$http_referer" "$http_user_agent" "$upstream_cache_status" "$upstream_http_cache_control"
"$http_range"
';
access_log /var/log/nginx/access.log vcombined;
access_log /var/log/nginx/access.log vcombined;
error_log /var/log/nginx/error.log;
error_log /var/log/nginx/error.log;
...
@@ -108,6 +108,8 @@ http {
...
@@ -108,6 +108,8 @@ http {
proxy_cache_lock_timeout 0s;
proxy_cache_lock_timeout 0s;
proxy_cache_lock_age 600s;
proxy_cache_lock_age 600s;
#proxy_cache_use_stale updating;
#proxy_cache_use_stale updating;
proxy_cache_min_uses 1;
proxy_max_temp_file_size 10240m;
add_header X-Cache-Status $upstream_cache_status;
add_header X-Cache-Status $upstream_cache_status;
...
...
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