← back to Kamatera Nginx

sites-available/abramsatlas.com.conf

18 lines

# abramsatlas.com — 301 → agentabrams.com (defensive cluster, path A)
server {
    listen 80;
    listen [::]:80;
    server_name abramsatlas.com www.abramsatlas.com;

    # ACME challenge passthrough (needed pre-SSL)
    location /.well-known/acme-challenge/ {
        root /var/www/letsencrypt;
        try_files $uri =404;
    }

    location / {
        return 301 https://agentabrams.com$request_uri;
    }
}
# HTTPS block added by certbot after zone delegates to CF + SSL issued