Skip to content

wenhsing/docker-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx

Build

docker build -t [image name]:[tag name] .

Run

docker run -d --rm --name [container name] \
    -v nginx_conf_path:/etc/nginx/conf.d -v ca_path:/ca -v app_path:/app \
    -p 80:80 -p 443:443 \
    [image name]:[tag name]

Restart

docker container restart [container name]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published