Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
provision
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
provision
Commits
7f65e306
Commit
7f65e306
authored
Mar 02, 2019
by
memtkmcc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nginx: Fix for not working microcaching
parent
944ba23e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
http/Provision/Config/Nginx/Inc/vhost_include.tpl.php
http/Provision/Config/Nginx/Inc/vhost_include.tpl.php
+6
-6
No files found.
http/Provision/Config/Nginx/Inc/vhost_include.tpl.php
View file @
7f65e306
...
...
@@ -1240,12 +1240,12 @@ location ~ ^/(?<esi>esi/.*)"$ {
fastcgi_cache_valid 301 302 403 404 1s;
fastcgi_cache_valid any 1s;
fastcgi_cache_lock on;
fastcgi_ignore_headers Cache-Control Expires;
fastcgi_ignore_headers Cache-Control Expires
Vary
;
fastcgi_pass_header Set-Cookie;
fastcgi_pass_header X-Accel-Expires;
fastcgi_pass_header X-Accel-Redirect;
fastcgi_no_cache $cookie_NoCacheID $http_authorization $
http_pragma $
nocache;
fastcgi_cache_bypass $cookie_NoCacheID $http_authorization $
http_pragma $
nocache;
fastcgi_no_cache $cookie_NoCacheID $http_authorization $nocache;
fastcgi_cache_bypass $cookie_NoCacheID $http_authorization $nocache;
fastcgi_cache_use_stale error http_500 http_503 invalid_header timeout updating;
tcp_nopush off;
keepalive_requests 0;
...
...
@@ -1404,12 +1404,12 @@ location = /index.php {
fastcgi_cache_valid 301 302 403 404 1s;
fastcgi_cache_valid any 1s;
fastcgi_cache_lock on;
fastcgi_ignore_headers Cache-Control Expires;
fastcgi_ignore_headers Cache-Control Expires
Vary
;
fastcgi_pass_header Set-Cookie;
fastcgi_pass_header X-Accel-Expires;
fastcgi_pass_header X-Accel-Redirect;
fastcgi_no_cache $cookie_NoCacheID $http_authorization $
http_pragma $
nocache;
fastcgi_cache_bypass $cookie_NoCacheID $http_authorization $
http_pragma $
nocache;
fastcgi_no_cache $cookie_NoCacheID $http_authorization $nocache;
fastcgi_cache_bypass $cookie_NoCacheID $http_authorization $nocache;
fastcgi_cache_use_stale error http_500 http_503 invalid_header timeout updating;
}
<?php
endif
;
?>
...
...
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