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

Recommended nginx setting overrides all subdomains #481

Open
malikwirin opened this issue Dec 14, 2024 · 1 comment
Open

Recommended nginx setting overrides all subdomains #481

malikwirin opened this issue Dec 14, 2024 · 1 comment

Comments

@malikwirin
Copy link

Using the recommended nginx settings

      locations."/".extraConfig = ''
        proxy_pass http://127.0.0.1:5000;
        proxy_set_header Host $host;
        proxy_redirect http:// https://;
        proxy_http_version 1.1;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
      '';

makes it that I see Bildschirmfoto vom 2024-12-14 16-47-35 not only when using the configured domain but when using any unconfigured domain also

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/nginx-subdomains-are-all-messed-up/57418/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants