Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir nginx
- vi nginx.conf
- docker run -d --restart=unless-stopped -p 127.0.0.1:8080:8080 rancher/server
- docker run --name nginx-front -v /home/rancher/nginx/nginx.conf:/etc/nginx/nginx.conf:ro -v /home/rancher/nginx/var/www:/var/www:ro -d --restart=unless-stopped nginx
Advertisement
Add Comment
Please, Sign In to add comment