Skip to content

order of networks in nginx template is random #431

Open
@JanMalte

Description

@JanMalte

I'm not quite sure if this is a docker-gen issue or maybe a nginx-proxy template issue.

I'm using the three container setup for a nginx proxy and noticed multiple nginx restarts due to changed default.conf

Comparing the generated conf files showed me, that the changes are only for the network comment lines.

/nginx-proxy # diff -W 90 -y --suppress-common-lines generated-11.conf generated-12.conf
        # Cannot connect to network 'elm    <
					    >	        # Cannot connect to network 'elmar
        # Cannot connect to network 'git    <
					    >	        # Cannot connect to network 'gitla
        # Cannot connect to network 'hc-    <
					    >	        # Cannot connect to network 'hc-vo
        # Cannot connect to network 'sec    <
					    >	        # Cannot connect to network 'secon
					    >	        # Cannot connect to network 'stats
        # Cannot connect to network 'sta    <
        # Cannot connect to network 'elm    <
					    >	        # Cannot connect to network 'elmar
        # Cannot connect to network 'sec    <
					    >	        # Cannot connect to network 'secon

Related "discussion": nginx-proxy/nginx-proxy#1981 (comment)

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