Skip to content

Commit

Permalink
Merge pull request #175 from linuxserver/3.21-cache
Browse files Browse the repository at this point in the history
Set cache paths
  • Loading branch information
thespad authored Dec 17, 2024
2 parents 7931517 + f96a952 commit b6078d8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion root/defaults/nginx/nginx.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2024/12/06 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx/nginx.conf.sample
## Version 2024/12/17 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx/nginx.conf.sample

### Based on alpine defaults
# https://git.alpinelinux.org/aports/tree/main/nginx/nginx.conf?h=3.21-stable
Expand Down Expand Up @@ -81,6 +81,11 @@ http {
uwsgi_temp_path /tmp/nginx-uwsgi;
scgi_temp_path /tmp/nginx-scgi;

proxy_cache_path /tmp/nginx-proxy-cache keys_zone=lsio-proxy:10m;
fastcgi_cache_path /tmp/nginx-fcgi-cache keys_zone=lsio-fcgi:10m;
scgi_cache_path /tmp/nginx-scgi-cache keys_zone=lsio-scgi:10m;
uwsgi_cache_path /tmp/nginx-uwsgi-cache keys_zone=lsio-uwsgi:10m;

# Includes virtual hosts configs.
include /etc/nginx/http.d/*.conf;
include /config/nginx/site-confs/*.conf;
Expand Down

0 comments on commit b6078d8

Please sign in to comment.