Default Server Settings for Nginx
Table of Contents
Config #
server {
listen [::]:443 ssl http2;
listen 443 ssl http2;
server_name _;
ssl_reject_handshake on;
}
server {
listen 80;
listen [::]:80;
server_name _;
return 444;
}
Reload nginx:
systemctl reload nginx.service