Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description

nginx docker image

This image sets up nginx on top of phusion/baseimage

What's included:

  • nginx is installed and setup via runit, but disabled by default
  • nginx-log-forwarder to forward nginx error log to docker logs
  • permissions set up to receive apps to /var/www
  • ports 80 and 443 exposed


FROM naps62/nginx:latest

# install app
ADD test-app.conf /etc/nginx/sites-enabled/default
ADD ./test-app /var/www/test-app


server {
  listen 80;
  listen [::]:80;

  root /var/www/test-app;
  index index.html;

  location / {
    try_files $uri $uri/ =404;

Docker Pull Command
Source Repository