我正在尝试在本地使用Docker化我的Apache/Django项目。 在我的本地机器上(运行Mac Sierra),我有这个文件(maps.conf)在我的/ etc/apache2/other/目录中...
<VirtualHost *:80>
ServerName maps.example.com
Alias /static /Library/WebServer/Documents/maps/maps/static
<Directory /Library/WebServer/Documents/maps/maps/static>
Require all granted
</Directory>
# Next, add the following directory block
<Directory /Library/WebServer/Documents/maps/maps_project>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
WSGIDaemonProcess maps python-home=/Library/WebServer/Documents/maps/venv python-path=/Library/WebServer/Documents/maps
WSGIProcessGroup maps
WSGIScriptAlias / /Library/WebServer/Documents/maps/maps_project/wsgi.py
</VirtualHost>
我找到了这个 Apache 的 Docker 文件...
FROM httpd:2.4
COPY ./public-html/ /usr/local/apache2/htdocs/
我应该把VirtualHost指令复制到哪里,以便我的Apache Docker镜像可以正常连接?