Skip to content

nginx default.conf shouldn't have hardcoded ipv6 support #577

@uGiFarukh

Description

@uGiFarukh

Describe the problem

When deploying the dashboard inside an ipv4 only supported docker environment, the dasboard's nginx fail to start due to the docker/default.conf file [in this repository] have both ->

listen 80 default_server;
listen [::]:80 default_server;

To Reproduce

Steps to reproduce the behavior:

  1. In docker daemon.json file add ipv6: false
  2. Try to run the dashboard container
  3. The nginx will error out on docker logs and dashboard is inaccessible

Expected behavior

Have a way to configure ipv6 enable or disable using dashboard environment variable?

Are you using NetBird Cloud?

Self-hosted

NetBird version

netbird -> v0.66.2
dashboard -> v2.33.0

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