From 47ba59d84fd98642e27cedac772abfd5b68cf082 Mon Sep 17 00:00:00 2001 From: thespad Date: Tue, 17 Dec 2024 19:26:35 +0000 Subject: [PATCH] Set cache paths --- root/defaults/nginx/nginx.conf.sample | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/root/defaults/nginx/nginx.conf.sample b/root/defaults/nginx/nginx.conf.sample index aa582d6..f873319 100644 --- a/root/defaults/nginx/nginx.conf.sample +++ b/root/defaults/nginx/nginx.conf.sample @@ -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;