Sign inSign up

mansoor1/apache2nginx

By mansoor1

•Updated about 7 years ago

Dockerizing https://github.com/lide-reed/apache2nginx

Image
0

180

mansoor1/apache2nginx repository overview

⁠Apache2nginx-docker

A docker image for Apache2Nginx⁠ A command line tool to convert Apache config to Nginx config

⁠Usage

docker pull mansoor1/apache2nginx
docker run -it mansoor1/apache2nginx -h

⁠Converting a local file

docker run --rm -it -v $(pwd):/tmp mansoor1/apache2nginx:latest -f /tmp/apache.conf -o /tmp/nginx.conf

This will convert apache.conf in your current working directory and write to nginx.conf

Note: the /tmp is added because we are mounting the pwd as a volume to the container

Tag summary

Content type

Image

Digest

Size

22.1 MB

Last updated

about 7 years ago

docker pull mansoor1/apache2nginx