Skip to content

A way to enforce listen without IP during restore #76

@willnode

Description

@willnode

I'm creating a backup from an old server where the website NGINX config contains listen with IP, something like this

    listen 1.2.3.4:443 ssl;
    listen [1:2:3:4::]:443 ssl;

Now with listen_mode=0, the IP address is still replaced. In fact, none of the restore function reads listen_mode.

https://github.com/virtualmin/virtualmin-nginx/blob/master/virtual_feature.pl#L2487

This creates a problem where NGINX now forgets all websites with listen [::]:443 ssl since both are taken as a different network interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions