mirror of
https://github.com/linuxserver/docker-socket-proxy.git
synced 2026-01-24 00:32:06 +08:00
Merge pull request #11 from linuxserver/conf-cleanup
Remove incorrect comments, move tmp paths, update readme
This commit is contained in:
commit
40681594bd
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user