system-config/container-config/nginx/sites/mta-sts
Mathieu Strypsteen 1648634933
All checks were successful
ShellCheck / shellcheck (push) Successful in 17s
Unify nginx config
2024-11-20 17:38:13 +01:00

11 lines
258 B
Text

server {
server_name mta-sts.strypsteen.me;
listen 443 ssl;
listen [::]:443 ssl;
location = /.well-known/mta-sts.txt {
return 200 "version: STSv1\nmode: enforce\nmx: vps.strypsteen.com\nmax_age: 1209600";
}
location / {
return 404;
}
}