Skip to content

Commit e127996

Browse files
committed
Remove incorrect comments, move tmp paths, update readme
1 parent b313ef6 commit e127996

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

readme-vars.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ full_custom_readme: |
6565
* To see the versions of the API your Docker daemon and client support, use `docker version` and check the `API version`.
6666
* [Read the docs](https://docs.docker.com/engine/api/) for the API version you are using for an explanation of all the available endpoints.
6767
68+
## Read-Only Operation
69+
70+
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
71+
6872
## Usage
6973
7074
To help you get started creating a container from this image you can either use docker compose or the docker cli.

root/etc/nginx/nginx.conf

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## Version 2023/04/13 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx/nginx.conf.sample
2-
31
### Based on alpine defaults
42
# https://git.alpinelinux.org/aports/tree/main/nginx/nginx.conf?h=3.19-stable
53

@@ -37,11 +35,12 @@ http {
3735
# length is greater than this size, then the client receives the HTTP
3836
# error code 413. Set to 0 to disable. Default is '1m'.
3937
client_max_body_size 0;
40-
client_body_temp_path /tmp;
41-
proxy_temp_path /tmp;
42-
fastcgi_temp_path /tmp;
43-
uwsgi_temp_path /tmp;
44-
scgi_temp_path /tmp;
38+
39+
client_body_temp_path /run/nginx-tmp;
40+
proxy_temp_path /run/nginx-tmp;
41+
fastcgi_temp_path /run/nginx-tmp;
42+
uwsgi_temp_path /run/nginx-tmp;
43+
scgi_temp_path /run/nginx-tmp;
4544

4645
# Sendfile copies data between one FD and other from within the kernel,
4746
# which is more efficient than read() + write(). Default is off.

root/etc/nginx/proxy.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## Version 2023/02/09 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/proxy.conf.sample
2-
31
# Timeout if the real server is dead
42
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
53

0 commit comments

Comments
 (0)