NGINX-Configs/etc/nginx/conf.d/default.conf
Tommy 2e584825ff
Disable sending headers on http
Signed-off-by: Tommy <contact@tommytran.io>
2025-01-03 06:24:19 -07:00

14 lines
249 B
Plaintext

server {
listen ipv4_1:80 default_server;
listen [ipv6_1]:80 default_server;
include snippets/universal_paths.conf;
# Don't send headers
add_header "" "";
location / {
return 308 https://$host$request_uri;
}
}