Merge pull request #8593 from dokku/fix-debian-bullseye-ssl-reject-handshake
This commit is contained in:
13
plugins/nginx-vhosts/templates/default-site-legacy.conf
Normal file
13
plugins/nginx-vhosts/templates/default-site-legacy.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
# Catch-all server block for requests with unknown Host headers.
|
||||
# Installed on fresh apt installs of dokku when nginx < 1.19.4
|
||||
# (which lacks ssl_reject_handshake support); safe to edit.
|
||||
# See /etc/nginx/conf.d/dokku.conf for the per-app server blocks.
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
|
||||
server_name _;
|
||||
access_log off;
|
||||
|
||||
return 444;
|
||||
}
|
||||
Reference in New Issue
Block a user