Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Question :disable port 443 for non listed virtual hosts.

$
0
0
Found a solution.
Added

if ($host != $server_name) {
return 444;
}

now every host that is configured/non-configured will be returned to 444 if there is no setup for SSL.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>