Sign inSign up

jtilander/webdav

By jtilander

•Updated about 8 years ago

Simple nginx container exposing a directory with full WEBDAV access.

Image
1

8.5K

jtilander/webdav repository overview

⁠Nginx WebDAV container

A quick and dirty container that serves data over WEBDAV in an nginx container.

⁠Volumes

PathDescription
/dataExported data, if you want to persist, map this path.
/tmp/uploadTemporary storage for uploads. Map for speed.
/logA copy of the access log will be written here if USE_PERFLOG=1

⁠Environment variables

NameDefaultDescription
WEBDAV_USERNAMEguestIf set to guest: world RW w/o password. Otherwise, user gets RW and others get R
WEBDAV_PASSWORDSet to password of the user
WORKER_COUNT4Nginx worker processes
WORKER_CONNECTIONS1024Nginx max connections
WORKER_USERNAMEnginxRun nginx as this user
LISTFORMATjsonHow we return directory listings
SENDFILEonNginx sendfile enabled?
TCP_NOPUSHoffNginx tcp_nopush?
TRUSTED_SUBNETallOnly allow write from this subnet (CIDR)
LISTENPORT80Port to listen to
LDAP_PROTOCOLldapsCan also be set to unencrypted ldap
LDAP_PORT636Which port to connect to
LDAP_SERVERServer address
LDAP_DNThe domain path to search, e.g. DC=foobar,DC=com
LDAP_DOMAINShort hand domain name, e.g. mycompany
LDAP_USERWhich username we will bind with
LDAP_PASSWORDPassword for the bind user
USE_PERFLOG0Also logs to /log/access.log if set to 1, useful for exporting⁠
SSLoffSet to on, to use SSL over the listenport
CERTIFICATE/etc/certs.d/bad.pemUse this to map in a proper certificate
CERTIFICATE_KEY/etc/certs.d/bad.keyUse this to map in a proper key

⁠Resources

⁠Alternatives

Tag summary

Content type

Image

Digest

Size

8.5 MB

Last updated

about 8 years ago

docker pull jtilander/webdav