This image sets up nginx on top of phusion/baseimage
/var/wwwDockerfile:
FROM naps62/nginx:latest
# install app
ADD test-app.conf /etc/nginx/sites-enabled/default
ADD ./test-app /var/www/test-app
app.conf:
server {
listen 80;
listen [::]:80;
root /var/www/test-app;
index index.html;
location / {
try_files $uri $uri/ =404;
}
}
Content type
Image
Digest
sha256:1a3c66fe0…
Size
123.7 MB
Last updated
almost 11 years ago
docker pull naps62/nginx