nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Wildcard for 404 page

Open devopg opened this issue 4 years ago • 2 comments

Hello. i dont understand how its work or its bug?

I have 'proxy host' rules with forward subdomain to ip a.mydomain.com -> 192.1.1.1 b.mydomain.com -> 192.1.1.2 c.mydomain.com -> 192.1.1.3

I want to create a 404 page for all those subdomains that are not explicitly listed above. On page '404 Hosts' i create wildcard for all non exists domains : image

Try enter: non.mydomain.com
and receive Nginx Proxy Manager home page.

devopg avatar Jan 05 '22 19:01 devopg

+1 Current behaviour is not secure

lonely-lockley avatar Aug 26 '22 12:08 lonely-lockley

up

devopg avatar Sep 10 '22 18:09 devopg

I would create a cusotm 404 page and redirect to this page

EyyupA avatar Oct 27 '22 12:10 EyyupA

Actually, I found a solution. In Settings change Default Site setting from Congratulations Page to 404 Page. For me it solved an issue.

lonely-lockley avatar Oct 27 '22 12:10 lonely-lockley

Issue is now considered stale. If you want to keep it open, please comment :+1:

github-actions[bot] avatar Feb 28 '24 01:02 github-actions[bot]