Nginx-Configurations/http.d/axoblu.konpeki.solutions
2024-11-04 15:16:55 -05:00

28 lines
No EOL
791 B
Text

server {
server_name axoblu.konpeki.solutions www.axoblu.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:qxrvqly74uzia6d5pwgwjxb5 break;
return 404;
}
location /xrpc {
proxy_pass http://bsky;
}
location = /.well-known/atproto-did {
root /var/www/bsky/axoblu/;
default_type text/plain;
}
include snippets/global/errors/http-cat-error-pages.conf;
}