feat(nginx): add legacy www. subdomains

This is required by Google for their HSTS preloading service as many
people still use this legacy subdomain rather than the bare domain to
connect to websites.
This commit is contained in:
inference 2025-06-28 20:44:03 +00:00
parent ca4dd6c875
commit c609c90315
Signed by: inference
SSH Key Fingerprint: SHA256:/O3c09/4f1lh4zrhFs2qvQEDda6dZbTwG9xEcj8OfWo

View File

@ -4,14 +4,14 @@
# Copyright 2022 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause
# Version: 10.0.0-alpha.4
# Version: 10.0.0-alpha.5
# Server (unencrypted)
## Redirect from this server block to an encrypted server block if TLS is required
server {
# General
server_name inferencium.net;
server_name inferencium.net www.inferencium.net;
## IPv4
listen 80;
## IPv6