I have my .onion service running:
http://oeptyn6jtusgda63.onion/
When i try to open wrong link, my TorBrowser shows me an error like this:
Firefox can’t establish a connection to the server at oeptyn6jtusgda63.onion:7541.
Is there some way i can prevent nginx to leak my server port number?
I have learned myself, that nginx first send redirection (http code 301) that leaks my port number. Is there some way i can disable it?
UPD :
This happens when i try to access some directory, like this:
/etc/nginx/site-available/
.