Skip to content

status-page is duplicated #20

@vanodevium

Description

@vanodevium

There is two copy of status page in the nginx.conf:

server {
        listen 443 ssl;
        listen [::]:443 ssl;

        server_name status.opex.loc;

        location / {
            set $backend http://public.netnegar.io;
            proxy_pass $backend;
        }
    }
include /etc/nginx/netnegar.conf;

Looks like there should be only one declaration.

Logs from docker-compose:

reverse-proxy-nginx-1  | 2023/02/22 16:35:21 [warn] 10#10: conflicting server name "status.opex.dev" on 0.0.0.0:443, ignored
reverse-proxy-nginx-1  | nginx: [warn] conflicting server name "status.opex.dev" on 0.0.0.0:443, ignored
reverse-proxy-nginx-1  | 2023/02/22 16:35:21 [warn] 10#10: conflicting server name "status.opex.dev" on [::]:443, ignored
reverse-proxy-nginx-1  | nginx: [warn] conflicting server name "status.opex.dev" on [::]:443, ignored

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