Make the wiki publicly accessible and configure nginxs to give it https

This commit is contained in:
julian 2023-04-16 01:29:33 +02:00 committed by Jannik Beyerstedt
commit 9670b6494c
6 changed files with 119 additions and 10 deletions

View file

@ -0,0 +1,14 @@
server {
listen 80 default_server;
#listen [::]:80 default_server;
server_name _;
location /.well-known/acme-challenge/ {
autoindex on;
root /webroot-for-acme-challenge;
}
location / {
return 301 https://$host$request_uri;
}
}