Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx should listen on IPv6 addresses in addition to IPv4 #1770

Closed
9numbernine9 opened this issue Sep 22, 2024 · 1 comment
Closed

Nginx should listen on IPv6 addresses in addition to IPv4 #1770

9numbernine9 opened this issue Sep 22, 2024 · 1 comment
Labels
Docker enhancement New feature or request

Comments

@9numbernine9
Copy link

Is your feature request related to a problem? Please describe.
In an IPv6-only environment (e.g. an IPv6-only Kubernetes cluster), it's not possible to connect to a Snappymail pod on port 8888. This appears to be due to nginx.conf being configured only with an IPv4 listen directive.

Describe the solution you'd like
In addition, to an IPv4 listen directive, add an IPv6 listen directive as well.

Currently in nginx.conf:

server {
    listen 8888;
    root /snappymail;
    index index.php;
    charset utf-8;

Preferred Suggestion:

server {
    listen 8888;
    listen [::]:8888;
    root /snappymail;
    index index.php;
    charset utf-8;

Describe alternatives you've considered
N/A

Additional context
N/A

@the-djmaze the-djmaze added Docker enhancement New feature or request labels Sep 22, 2024
@9numbernine9
Copy link
Author

Thanks for the quick fix @the-djmaze !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docker enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants