Nginx-Configurations/http.d/axoblu.konpeki.solutions

28 lines
791 B
Text
Raw Normal View History

2024-11-04 11:09:00 -06:00
server {
2024-11-04 13:52:16 -06:00
server_name axoblu.konpeki.solutions www.axoblu.konpeki.solutions;
2024-11-04 11:09:00 -06:00
ssl_certificate /etc/letsencrypt/live/konpeki.solutions/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/konpeki.solutions/privkey.pem;
2024-11-04 13:52:16 -06:00
ssl_trusted_certificate /etc/letsencrypt/live/konpeki.solutions/fullchain.pem;
2024-11-04 11:09:00 -06:00
2024-11-04 13:52:16 -06:00
include snippets/global/common-ssl.conf;
2024-11-04 11:09:00 -06:00
2024-11-04 13:52:16 -06:00
include snippets/proxy/common-proxy-headers.conf;
2024-11-04 11:09:00 -06:00
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;
}
2024-11-04 13:52:16 -06:00
include snippets/global/errors/http-cat-error-pages.conf;
}