Skip to content

Commit 47ba59d

Browse files
committed
Set cache paths
1 parent 7931517 commit 47ba59d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

root/defaults/nginx/nginx.conf.sample

Lines changed: 4 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,9 @@ 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=swag-proxy:10m;
85+
fastcgi_cache_path /tmp/nginx-cgi-cache keys_zone=swag-cgi:10m;
86+
8487
# Includes virtual hosts configs.
8588
include /etc/nginx/http.d/*.conf;
8689
include /config/nginx/site-confs/*.conf;

0 commit comments

Comments
 (0)