forked from lavender-legacy/lavender.software
Rewrite the nginx site config
parent
4f40930dd5
commit
3e561b8474
|
@ -1,11 +1,11 @@
|
||||||
# assuming the dist repo lives at /srv/http/lavender.software
|
# assuming the dist repo lives at /srv/http/lavender.software
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
alias /srv/http/lavender.software/;
|
root /srv/http/lavender.software/;
|
||||||
}
|
|
||||||
|
|
||||||
error_page 404 /404.html
|
|
||||||
|
|
||||||
location = /webring/data.json {
|
location = /webring/data.json {
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
error_page 404 /404.html
|
||||||
|
|
Loading…
Reference in New Issue