Rewrite the nginx site config

This commit is contained in:
Charlotte Som 2022-03-05 17:45:24 +00:00
parent 4f40930dd5
commit 3e561b8474

View file

@ -1,11 +1,11 @@
# assuming the dist repo lives at /srv/http/lavender.software
location / {
alias /srv/http/lavender.software/;
}
error_page 404 /404.html
root /srv/http/lavender.software/;
location = /webring/data.json {
add_header Access-Control-Allow-Origin *;
}
}
error_page 404 /404.html