Created
March 17, 2015 18:30
-
-
Save xr09/e88f4390a9f65cd44b0e to your computer and use it in GitHub Desktop.
cache gitlab uploads
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # append this to /var/opt/gitlab/nginx/conf/gitlab-http.conf | |
| location ~ ^/(uploads)/ { | |
| expires max; | |
| add_header Cache-Control public; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment