mwaeckerlin/nginx is a simple nginx webserver in less than 6MB. High secure: No shell means less risks for backdoors, just nginx running as unprivileged user.
If you need PHP, use mwaeckerlin/php-fpm. The image forwards php files to port 9000
of host php-fpm
, if that host is available.
Info: LDAP has been removed and will be implemented later in mwaeckerlin/ldap-auth.
Image size: ca. 7.17MB (depends on parent image sizes and changes)
Exposes nginx on port 8080
.
- serves from
/app
- add additional configuration directly to
/etc/nginx
- should you need ssl, create
/etc/nginx/dhparam.pem
, see example in mwaeckerlin/reverse-proxy
See docker-compose.yml
for an example:
docker-compose build
docker-compose up
- browse to:
http://localhost:8080
- stop with
Ctrl+C
docker run -it --rm --name myservice -p 8005:8080 mwaeckerlin/nginx
Browse to http://localhost:8005. Cleans up when you press Ctrl+C
.