Set cache paths

This commit is contained in:
thespad 2024-12-17 19:26:35 +00:00
parent 7931517bdb
commit 47ba59d84f
No known key found for this signature in database

View File

@ -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
@ -81,6 +81,9 @@ http {
uwsgi_temp_path /tmp/nginx-uwsgi;
scgi_temp_path /tmp/nginx-scgi;
proxy_cache_path /tmp/nginx-proxy-cache keys_zone=swag-proxy:10m;
fastcgi_cache_path /tmp/nginx-cgi-cache keys_zone=swag-cgi:10m;
# Includes virtual hosts configs.
include /etc/nginx/http.d/*.conf;
include /config/nginx/site-confs/*.conf;