picatz / goldengirl

✨ All that shimmers is gold!
MIT License
3 stars 0 forks source link

Apache server #23

Closed picatz closed 6 years ago

picatz commented 6 years ago

working on this

picatz commented 6 years ago

Probably could do with not using some random keys I grabbed online. But, whatever.

picatz commented 6 years ago

Separated into a tested https example, mostly pulled from the internet -- and a non tested http example.

picatz commented 6 years ago

I will be testing these now.

picatz commented 6 years ago

Example

vagrant up
vagrant ssh
cd /dockerfiles/http
sudo docker build -t http .
sudo docker run -dit -p 80:80 http
curl localhost
picatz commented 6 years ago

HTTPS Example

vagrant up
vagrant ssh
cd /dockerfiles/https
sudo docker build -t https .
sudo docker run -dit -p 443:443 https
curl -k https://localhost
picatz commented 6 years ago

yolo