update
This commit is contained in:
parent
295d15e34f
commit
53788d97ce
2 changed files with 33 additions and 10 deletions
|
|
@ -4,21 +4,17 @@ synth.download {
|
|||
try_files {path} {path}.html {path}/ =404
|
||||
|
||||
# kill
|
||||
redir /.git https://nbg1-speed.hetzner.com/10GB.bin
|
||||
redir /.git/ /.git
|
||||
redir /.git* https://nbg1-speed.hetzner.com/10GB.bin
|
||||
|
||||
# redirects
|
||||
redir /home /
|
||||
redir /~sneexy* https://sneexy.synth.download
|
||||
|
||||
# iceshrimp.net split domain
|
||||
redir /.well-known/webfinger https://beeping.synth.download{uri} 301
|
||||
redir /.well-known/host-meta https://beeping.synth.download{uri} 301
|
||||
redir /.well-known/nodeinfo https://beeping.synth.download{uri} 301
|
||||
|
||||
# redirect pub to public directory
|
||||
redir /pub /pub/
|
||||
handle_path /pub/* {
|
||||
root * /var/www/pub
|
||||
file_server browse
|
||||
}
|
||||
|
||||
# xmpp xep-0156
|
||||
handle /.well-known/host-meta {
|
||||
@options method OPTIONS
|
||||
|
|
@ -38,4 +34,31 @@ synth.download {
|
|||
import common-settings
|
||||
import log website
|
||||
import robots-txt
|
||||
}
|
||||
|
||||
# sneexy
|
||||
sneexy.synth.download {
|
||||
handle {
|
||||
root * /var/www/website/_site/subdomain/sneexy
|
||||
file_server
|
||||
try_files {path} {path}.html {path}/ =404
|
||||
}
|
||||
|
||||
# assets
|
||||
handle_path /assets/* {
|
||||
root * /var/www/website/_site/assets
|
||||
file_server browse
|
||||
}
|
||||
|
||||
# redirect synth.download links back to original site
|
||||
redir /home https://synth.download
|
||||
redir /services https://synth.download/services
|
||||
redir /admins https://synth.download/admins
|
||||
redir /donate https://synth.download/donate
|
||||
redir /privacy https://synth.download/privacy
|
||||
redir /tos https://synth.download/tos
|
||||
|
||||
import common-settings
|
||||
import log sneexy
|
||||
import robots-txt
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue