Skip to content

Run it when port 80 is blocked #15

@phit42

Description

@phit42

Hi, I've tried your docker container as it includes a proxyDHCP.
Unfortunately port 80 on my server is in use, thus I need to ask nginx to listen somewhere different, or else I am getting hundreds of those:
Connection to localhost (::1) 80 port [tcp/http] succeeded!
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use)
linuxserver/docker-netboot.xyz⁠ provides an optional env variable NGINX_PORT that would allow to change it, but it appears as if your container setup ignores said variable or does not hand it thru correctly to nginx?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions