skip to Main Content

How should I mount a host httpd.conf file into an Apache httpd Docker container?

I'm spinning up a docker container using: docker run -d --add-host=host.docker.internal:host-gateway --name=apache --restart always -e PUID=1000 -e PGID=1000 -e TZ=Europe/London -p 80:80 -v /share/CACHEDEV1_DATA/Container/apache/config/httpd.conf:/usr/local/apache2/conf/httpd.conf -v /share/CACHEDEV1_DATA/Container/apache/config/httpd-vhosts.conf:/usr/local/apache2/conf/extra/httpd-vhosts.conf httpd:latest Unfortunately, the httpd.conf file within the container does not match the local file…

VIEW QUESTION

Reverse Proxy for Django App 404 Not Found – Apache

I am following this guide to try show this url www.mycompany.com/testblog instead of www.mycompany.com:8000/testblog These are my current config files setup inside my website.comssl.conf file <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName website.com ServerAlias www.website.com DocumentRoot /var/www/website.com Redirect permanent / https://website.com/ ErrorLog…

VIEW QUESTION
Back To Top
Search