Skip to content

Commit b6078d8

Browse files
authored
Merge pull request #175 from linuxserver/3.21-cache
Set cache paths
2 parents 7931517 + f96a952 commit b6078d8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

root/defaults/nginx/nginx.conf.sample

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2024/12/06 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx/nginx.conf.sample
1+
## Version 2024/12/17 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx/nginx.conf.sample
22

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

84+
proxy_cache_path /tmp/nginx-proxy-cache keys_zone=lsio-proxy:10m;
85+
fastcgi_cache_path /tmp/nginx-fcgi-cache keys_zone=lsio-fcgi:10m;
86+
scgi_cache_path /tmp/nginx-scgi-cache keys_zone=lsio-scgi:10m;
87+
uwsgi_cache_path /tmp/nginx-uwsgi-cache keys_zone=lsio-uwsgi:10m;
88+
8489
# Includes virtual hosts configs.
8590
include /etc/nginx/http.d/*.conf;
8691
include /config/nginx/site-confs/*.conf;

0 commit comments

Comments
 (0)