aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/main/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'terminaldweller.com/main/nginx.conf')
-rw-r--r--terminaldweller.com/main/nginx.conf10
1 files changed, 9 insertions, 1 deletions
diff --git a/terminaldweller.com/main/nginx.conf b/terminaldweller.com/main/nginx.conf
index 4007cca..db1404d 100644
--- a/terminaldweller.com/main/nginx.conf
+++ b/terminaldweller.com/main/nginx.conf
@@ -1,7 +1,6 @@
events {
worker_connections 1024;
}
-# curl https://fosstodon.org/.well-known/webfinger?resource=acct:terminaldweller@fosstodon.org
http {
server {
listen 8080 ssl http2;
@@ -20,11 +19,20 @@ http {
sendfile on;
tcp_nopush on;
+ # curl https://fosstodon.org/.well-known/webfinger?resource=acct:terminaldweller@fosstodon.org
location /.well-known/webfinger {
add_header Access-Control-Allow-Origin "*";
add_header Content-Type "application/json";
alias /srv/.well-known/webfinger/finger.json;
}
# https://metacode.biz/openpgp/web-key-directory?
+ location /.well-known/openpgpkey/hu/ojxfrmdxrz4pm3hh16s5149w5b8acbsn {
+ alias /srv/.well-known/openpgpkey/hu/gpg_pubkey.asc;
+ add_header Access-Control-Allow-Origin "*";
+ }
+ location /.well-known/openpgpkey/policy {
+ alias /srv/.well-known/openpgpkey/policy;
+ add_header Access-Control-Allow-Origin "*";
+ }
}
}