# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS) include snippets/global/common-boilerplate.conf; server { server_name theshadoweevee.konpeki.solutions www.theshadoweevee.konpeki.solutions; ssl_certificate /etc/letsencrypt/live/konpeki.solutions/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/konpeki.solutions/privkey.pem; ssl_trusted_certificate /etc/letsencrypt/live/konpeki.solutions/fullchain.pem; include snippets/global/common-ssl.conf; include snippets/proxy/common-proxy-headers.conf; location / { rewrite / https://bsky.app/profile/did:plc:krbzbucjaj76xjob6ju47ilo break; return 404; } location /xrpc { proxy_pass http://bsky; } location = /.well-known/atproto-did { root /var/www/bsky/theshadoweevee/; default_type text/plain; } include snippets/global/errors/http-cat-error-pages.conf; }