Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Subdomains routed wrong #36

Open
albertoZurini opened this issue Nov 15, 2020 · 0 comments
Open

Subdomains routed wrong #36

albertoZurini opened this issue Nov 15, 2020 · 0 comments

Comments

@albertoZurini
Copy link

I don't know if this is a nginx problem or a container problem, but here is the issue I'm facing: I have created a conf template for my static subdomains:

server {
    listen              443 ssl;
    server_name         [sub].domain;
    ssl_certificate     /etc/letsencrypt/live/domain/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/domain/privkey.pem;
    

    root /var/www/[sub].domain;
    index index.html;
    location / {
        try_files $uri $uri/ =404;
    }
}

The problem is that some subdomains redirect to other sites I have configured (in particular the first in alphabetical order, eg. aa.com)

What could be this issue caused by? I've tried running nginx -t but all the configurations I'm running are fine.
Permissions are fine too (for testing purposes I've even tried chmod 777 without any luck).

staticfloat pushed a commit that referenced this issue Jun 23, 2022
…/docker/setup-qemu-action-1.1.0

Bump docker/setup-qemu-action from 1 to 1.1.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant