Rancher Server behind nginx on RancherOS
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
Comments