Fix wkd nginx conf and add root redirect to my keyoxide profile

This commit is contained in:
Marko Korhonen 2022-12-19 22:45:00 +02:00
parent c6c659c6f7
commit afc83ce7dc

View file

@ -1,11 +1,15 @@
server { server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;
root /wkd root /wkd;
location /.well-known/openpgpkey/hu/ { location /.well-known/openpgpkey/korhonen.cc/hu/ {
default_type "application/octet-stream"; default_type "application/octet-stream";
add_header Access-Control-Allow-Origin * always; add_header Access-Control-Allow-Origin * always;
} }
location / {
return 301 https://keyoxide.org/wkd/marko%40korhonen.cc;
}
} }