Add sample nginx site configuration
Since we have to set the CORS header for data.json, we make sure that there's some form of documentation in this repopull/2/head
parent
5e29b82c8d
commit
4b2d9f5d11
|
@ -0,0 +1,11 @@
|
||||||
|
# assuming the dist repo lives at /srv/http/lavender.software
|
||||||
|
|
||||||
|
location / {
|
||||||
|
alias /srv/http/lavender.software/;
|
||||||
|
}
|
||||||
|
|
||||||
|
error_page 404 /404.html
|
||||||
|
|
||||||
|
location = /webring/data.json {
|
||||||
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
}
|
Loading…
Reference in New Issue