From e1279961a49ca759fe8c25a5afeb6c67423f44e4 Mon Sep 17 00:00:00 2001 From: thespad Date: Mon, 8 Jul 2024 17:27:23 +0100 Subject: [PATCH] Remove incorrect comments, move tmp paths, update readme --- readme-vars.yml | 4 ++++ root/etc/nginx/nginx.conf | 13 ++++++------- root/etc/nginx/proxy.conf | 2 -- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/readme-vars.yml b/readme-vars.yml index bc14899..4eb3c61 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -65,6 +65,10 @@ full_custom_readme: | * To see the versions of the API your Docker daemon and client support, use `docker version` and check the `API version`. * [Read the docs](https://docs.docker.com/engine/api/) for the API version you are using for an explanation of all the available endpoints. + ## Read-Only Operation + + This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/). + ## Usage To help you get started creating a container from this image you can either use docker compose or the docker cli. diff --git a/root/etc/nginx/nginx.conf b/root/etc/nginx/nginx.conf index 6227cfc..cbe9573 100644 --- a/root/etc/nginx/nginx.conf +++ b/root/etc/nginx/nginx.conf @@ -1,5 +1,3 @@ -## Version 2023/04/13 - 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.19-stable @@ -37,11 +35,12 @@ http { # length is greater than this size, then the client receives the HTTP # error code 413. Set to 0 to disable. Default is '1m'. client_max_body_size 0; - client_body_temp_path /tmp; - proxy_temp_path /tmp; - fastcgi_temp_path /tmp; - uwsgi_temp_path /tmp; - scgi_temp_path /tmp; + + client_body_temp_path /run/nginx-tmp; + proxy_temp_path /run/nginx-tmp; + fastcgi_temp_path /run/nginx-tmp; + uwsgi_temp_path /run/nginx-tmp; + scgi_temp_path /run/nginx-tmp; # Sendfile copies data between one FD and other from within the kernel, # which is more efficient than read() + write(). Default is off. diff --git a/root/etc/nginx/proxy.conf b/root/etc/nginx/proxy.conf index 967d170..1b5d66c 100644 --- a/root/etc/nginx/proxy.conf +++ b/root/etc/nginx/proxy.conf @@ -1,5 +1,3 @@ -## Version 2023/02/09 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/proxy.conf.sample - # Timeout if the real server is dead proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;