This repository contains Dockerfile for self config nginx in ubuntu.
685
This repository contains Dockerfile of nginx in ubuntu.
These instructions will get you to build the nginx in your docker. See Installation for notes on how to build your ubuntu on a live system.
docker pull bananabb/nginx:latest
docker run -itd --name nginx -p 8080:80 bananabb/nginx
docker exec -it nginx /bin/bash
nginx -v
/etc/init.d/nginx reload/etc/default/varnish filesudo service varnish start after setting completedcurl -I http://localhost:8080/ to verify the VarnishPlease use /etc/init.d/nginx reload to replace the nginx restart, after you Creating a Server Block in /etc/nginx/sites-available directory.
MIT © BananaBb
Content type
Image
Digest
sha256:e59be1c53…
Size
256 MB
Last updated
over 2 years ago
docker pull bananabb/nginx