Skip to content

AH00547 with APACHE_PORT=127.0.0.1:8081 and network_mode=host #423

Open
@nikos1988

Description

@nikos1988

Using APACHE_PORT=127.0.0.1:8081 and network_mode: host works but results in AH00547 errors.
Since the entrypoint.sh script replaces the VirtualHost part in 000-default.conf with "<VirtualHost *:127.0.0.1:8081>" it results in errors.
/etc/apache2/ports.conf replace works fine: "Listen 127.0.0.1:8081"

I wanted to use a reverse proxy and also access mysql on my docker host where port 3306 is also restricted to localhost. So i tried using APACHE_PORT=127.0.0.1:8081 since the port does not have to be accessible from the outside. This works fine btw.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions