Fix wkd nginx conf and add root redirect to my keyoxide profile
This commit is contained in:
parent
c6c659c6f7
commit
afc83ce7dc
1 changed files with 6 additions and 2 deletions
|
@ -1,11 +1,15 @@
|
|||
server {
|
||||
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";
|
||||
add_header Access-Control-Allow-Origin * always;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 https://keyoxide.org/wkd/marko%40korhonen.cc;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue