Comment on If AI was all it was cracked up to be, it wouldn't be shoved in your face 24/7

<- View Parent
IcedRaktajino@startrek.website ⁨2⁩ ⁨days⁩ ago

I’m about that same age but am so glad we’ve largely abandoned the “www” for websites.

On my personal project website, I have a custom listener setup to redirect people to “aarp.org” if they enter it with “www” instead of just the base domain.

server {
    listen              443 ssl;
    http2		on;
    server_name         www.mydomain.xyz;

    ssl_certificate     /etc/letsencrypt/live/mydomain.xyz/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/mydomain.xyz/privkey.pem;
    ssl_dhparam         /etc/nginx/conf.d/tls/shared/dhparam.pem;
    ssl_protocols       TLSv1.2 TLSv1.3;
    ssl_session_cache   shared:SSL:10m;
    ssl_session_timeout 15m;
  
    ...
    
    location ~* {
      return 301 https://aarp.org/;
    }
}

source
Sort:hotnewtop