OpenResty/Nginx purpose built for McMyAdmin docker
1.6K
*This container is purpose built for linking with McMyAdmin Minecraft Container

Default (No SSL) example:
docker run -p 80:80 --name nginx --link mcmyadmin:mma jchaney/openresty-nginx
SSL example:
Note: You will need to provide your own cert and key, and attach a volume containing those to your container. You can put these wherever you want, however you will need to provide those paths using the environment variables SSL_KEY and SSL_CERT as shown below. In my example, I have copied the cert and key to /home/jchaney/ssl and mapped that to /root/ssl on the container. I have then passed the paths to those files in the environment variables.
docker run -p 80:80 -p 443:443 --name nginx --link mcmyadmin:mma -v /home/jchaney/ssl:/root/ssl -e "SSL_KEY=/root/ssl/myssl.key" -e "SSL_CERT=/root/ssl/myssl.crt" jchaney/openresty-nginx
Open http://localhost to see Minecraft setup instructions website
Open http://localhost/admin to get to McMyAdmin server admin website
Content type
Image
Digest
sha256:52e605b01…
Size
168.2 MB
Last updated
almost 11 years ago
docker pull jchaney/openresty-nginx