Maintained by Thijmen Heuvelink
Nginx is a web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache.
docker run \
--restart unless-stopped \
--name nginx \
-d -p 8080:80 \
-v /home/$USER/env/nginx:/usr/share/nginx/html:ro \
nginx
services:
nginx:
image: nginx:latest
container_name: nginx
restart: unless-stopped
ports: [ "80:80" ]
volumes:
- ./www:/usr/share/nginx/html:ro
This knowledge base serves as a valuable tool to simplify installations, troubleshoot common problems and to enhance the overall developer / admin experience. mail@thijmenheuvelink.nl - all rights reserved