Public | Automated Build

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

Nginx image

Run an nginx with default configuration files.

You can override some of this configurations.

How to use it

# create nginx, www, logs folders in your project directory
$ mkdir nginx www logs
# www -> is your code
# logs -> is all your app logs
# nginx -> config files for nginx
# Create your config file
$ vim nginx/default
# With default config
$ docker run -d --name app-nginx --link app-fpm:fpm --volumes-from app-data freyskeyd/nginx
# With custom config
$ docker run -d --name app-nginx --link app-fpm:fpm --volumes-from app-data -v
$PWD/nginx:/etc/nginx/sites-available freyskeyd/nginx
Docker Pull Command
Owner
freyskeyd
Source Repository

Comments (0)