Skip to content

Commit

Permalink
Merge pull request #11 from linuxserver/conf-cleanup
Browse files Browse the repository at this point in the history
Remove incorrect comments, move tmp paths, update readme
  • Loading branch information
thespad authored Jul 15, 2024
2 parents b313ef6 + e127996 commit 4068159
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
4 changes: 4 additions & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
13 changes: 6 additions & 7 deletions root/etc/nginx/nginx.conf
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions root/etc/nginx/proxy.conf
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 4068159

Please sign in to comment.