babim / docker-nginx

Nginx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Usage

docker run -d -p 80:80 babim/ubuntu-nginx:proxy

Attach persistent/shared directories

docker run -d -p 80:80 -v <sites-enabled-dir>:/etc/nginx/conf.d -v <certs-dir>:/etc/nginx/certs -v <log-dir>:/var/log/nginx -v <html-dir>:/var/www/html babim/nginx

After few seconds, open http:// to see the welcome page.

Volume:

/var/www
/etc/nginx
/etc/php

Environment

TIMEZONE
PHP_MEMORY_LIMIT
MAX_UPLOAD
PHP_MAX_FILE_UPLOAD
PHP_MAX_POST
MAX_INPUT_TIME
MAX_EXECUTION_TIME

with environment ID:

auid = user id
agid = group id
auser = username
Default: agid = auid

About

Nginx

License:MIT License


Languages

Language:Dockerfile 100.0%