mirror of
https://github.com/fluencelabs/docker-socket-proxy
synced 2025-04-24 17:02:16 +00:00
Mention DELETE in readme and dockerfile
This commit is contained in:
parent
de847e7e46
commit
da23591b86
@ -19,6 +19,7 @@ ENV ALLOW_RESTARTS=0 \
|
||||
PING=1 \
|
||||
PLUGINS=0 \
|
||||
POST=0 \
|
||||
DELETE=0 \
|
||||
SECRETS=0 \
|
||||
SERVICES=0 \
|
||||
SESSION=0 \
|
||||
|
@ -115,7 +115,8 @@ by default. Maximum caution when enabling these.
|
||||
- `AUTH`
|
||||
- `SECRETS`
|
||||
- `POST`: When disabled, only `GET` and `HEAD` operations are allowed, meaning
|
||||
any section of the API is read-only.
|
||||
any section of the API is read-only. Note that this is a global
|
||||
- `DELETE`: Enables or disables all `DELETE` operations
|
||||
|
||||
#### Not always needed
|
||||
|
||||
|
14
haproxy.cfg
14
haproxy.cfg
@ -28,13 +28,13 @@ defaults
|
||||
load-server-state-from-file global
|
||||
|
||||
# Use provided example error pages
|
||||
# errorfile 400 /usr/local/etc/haproxy/errors/400.http
|
||||
# errorfile 403 /usr/local/etc/haproxy/errors/403.http
|
||||
# errorfile 408 /usr/local/etc/haproxy/errors/408.http
|
||||
# errorfile 500 /usr/local/etc/haproxy/errors/500.http
|
||||
# errorfile 502 /usr/local/etc/haproxy/errors/502.http
|
||||
# errorfile 503 /usr/local/etc/haproxy/errors/503.http
|
||||
# errorfile 504 /usr/local/etc/haproxy/errors/504.http
|
||||
errorfile 400 /usr/local/etc/haproxy/errors/400.http
|
||||
errorfile 403 /usr/local/etc/haproxy/errors/403.http
|
||||
errorfile 408 /usr/local/etc/haproxy/errors/408.http
|
||||
errorfile 500 /usr/local/etc/haproxy/errors/500.http
|
||||
errorfile 502 /usr/local/etc/haproxy/errors/502.http
|
||||
errorfile 503 /usr/local/etc/haproxy/errors/503.http
|
||||
errorfile 504 /usr/local/etc/haproxy/errors/504.http
|
||||
|
||||
backend dockerbackend
|
||||
server dockersocket /var/run/docker.sock
|
||||
|
Loading…
x
Reference in New Issue
Block a user