- About
- ---
- How to bring up ssl/http in docker.
- mockbuild@bully:~/production$ docker-compose up -d --build
- [+] Running 2/2
- ✔ Network production_docker-network Created 0.1s
- ✔ Container productive-apache Started
- mockbuild@bully:~/production$ docker exec -it -uroot productive-apache ash
- / # httpd -S
- VirtualHost configuration:
- *:80 copr9.dynavirt.com (/etc/apache2/httpd.conf:78)
- *:443 is a NameVirtualHost
- default server copr9.dynavirt.com (/etc/apache2/conf.d/ssl.conf:124)
- port 443 namevhost copr9.dynavirt.com (/etc/apache2/conf.d/ssl.conf:124)
- port 443 namevhost copr9.dynavirt.com (/etc/apache2/httpd.conf:115)
- alias www.copr9.dynavirt.com
- ServerRoot: "/var/www"
- Main DocumentRoot: "/var/www/localhost/htdocs"
- Main ErrorLog: "/var/www/logs/error.log"
- Mutex default: dir="/run/apache2/" mechanism=default
- Mutex mpm-accept: using_defaults
- Mutex ssl-stapling-refresh: using_defaults
- Mutex rewrite-map: using_defaults
- Mutex ssl-stapling: using_defaults
- Mutex ssl-cache: using_defaults
- PidFile: "/run/apache2/httpd.pid"
- Define: DUMP_VHOSTS
- Define: DUMP_RUN_CFG
- User: name="apache" id=100
- Group: name="apache" id=101
- mockbuild@bully:~/production$ netstat -an | grep tcp
- tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
- tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
- tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
- tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN
- tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN
- tcp 0 52 199.249.188.51:22 75.83.116.81:57096 ESTABLISHED
- tcp6 0 0 :::443 :::* LISTEN
- tcp6 0 0 :::80 :::* LISTEN
- tcp6 0 0 :::22 :::* LISTEN
- tcp6 0 0 :::5355 :::* LISTEN