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
|
try_files {path} {path}.html {path}/ =404
|
||||||
|
|
||||||
# kill
|
# kill
|
||||||
redir /.git https://nbg1-speed.hetzner.com/10GB.bin
|
redir /.git* https://nbg1-speed.hetzner.com/10GB.bin
|
||||||
redir /.git/ /.git
|
|
||||||
|
# redirects
|
||||||
|
redir /home /
|
||||||
|
redir /~sneexy* https://sneexy.synth.download
|
||||||
|
|
||||||
# iceshrimp.net split domain
|
# iceshrimp.net split domain
|
||||||
redir /.well-known/webfinger https://beeping.synth.download{uri} 301
|
redir /.well-known/webfinger https://beeping.synth.download{uri} 301
|
||||||
redir /.well-known/host-meta 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
|
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
|
# xmpp xep-0156
|
||||||
handle /.well-known/host-meta {
|
handle /.well-known/host-meta {
|
||||||
@options method OPTIONS
|
@options method OPTIONS
|
||||||
|
|
@ -38,4 +34,31 @@ synth.download {
|
||||||
import common-settings
|
import common-settings
|
||||||
import log website
|
import log website
|
||||||
import robots-txt
|
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
|
||||||
}
|
}
|
||||||
|
|
@ -544,4 +544,4 @@ customHtml:
|
||||||
head: |
|
head: |
|
||||||
<script>console.log("This Fediverse software is ass. Session terminated.")</script>
|
<script>console.log("This Fediverse software is ass. Session terminated.")</script>
|
||||||
<script>!function(){"use strict";const t=new MutationObserver(function(e){e.forEach(function(e){("attributes"===e.type&&"class"===e.attributeName||"childList"===e.type)&&function(){const e=localStorage.getItem("account"),s=document.querySelector('[class*="visitor-root-"]');!e&&s&&(document.documentElement.classList.add("radius-misskey"),t.disconnect())}()})});t.observe(document.documentElement,{attributes:!0,attributeFilter:["class"],childList:!0,subtree:!0}),t.observe(document.body,{childList:!0,subtree:!0})}();</script>
|
<script>!function(){"use strict";const t=new MutationObserver(function(e){e.forEach(function(e){("attributes"===e.type&&"class"===e.attributeName||"childList"===e.type)&&function(){const e=localStorage.getItem("account"),s=document.querySelector('[class*="visitor-root-"]');!e&&s&&(document.documentElement.classList.add("radius-misskey"),t.disconnect())}()})});t.observe(document.documentElement,{attributes:!0,attributeFilter:["class"],childList:!0,subtree:!0}),t.observe(document.body,{childList:!0,subtree:!0})}();</script>
|
||||||
<style>#splash{& #splashSpinner{transform:unset!important;margin:2rem 0 0 2rem!important}}#sharkey_app{& [class^=visitor-root-]{& [class^=visitor-main-]{& [class^=visitor-homeButton-]{background:var(--MI_THEME-accent)!important;color:var(--MI_THEME-fgOnAccent)!important}& [class^=visitor-content-]{& [class^=pages-welcome-entrance-a-shape1-],& [class^=pages-welcome-entrance-a-shape2-],& [class^=pages-welcome-timeline-root-]{display:none}& [class^=pages-welcome-entrance-a-logoWrapper-]{& [class^=pages-welcome-entrance-a-poweredBy-]{color:var(--MI_THEME-fg)}& [class^=pages-welcome-entrance-a-misskey-]{width:120px!important}}& [class^=pages-welcome-entrance-a-logoWrapper-]:before{backdrop-filter:var(--MI-blur,blur(15px));background:var(--MI_THEME-acrylicPanel);border-radius:var(--MI-radius);content:"";z-index:-5;position:absolute;inset:-.8rem -.8rem -.5rem}& [class^=MkFeaturedPhotos-root-]{opacity:.8;background-repeat:repeat;background-size:auto;animation:100s linear infinite animatebg;background-image:url(https://cdn.booping.synth.download/assets/synth+grid+bg.png)!important;width:100%!important;height:100%!important;top:0!important;left:0!important}& [class^=pages-welcome-entrance-a-contents-]{padding:130px 0;margin-left:auto!important;margin-right:auto!important;& [class^=MkVisitorDashboard-root-]:before{backdrop-filter:var(--MI-blur,blur(15px));background:var(--MI_THEME-acrylicPanel);border-radius:var(--MI-radius);content:"";position:absolute;inset:.5rem -1.5rem -1.5rem}& [class^=MkVisitorDashboard-tl-]{& [class^=MkVisitorDashboard-tlBody-]{height:50rem!important}}}& [class^=pages-welcome-entrance-a-federation-]{bottom:unset!important;z-index:50!important;top:16px!important}}}& [class^=visitor-side-]{background:linear-gradient(var(--MI_THEME-bg),var(--MI_THEME-accent));& [class^=visitor-banner-]{opacity:.8;background-repeat:repeat;background-size:auto;animation:100s linear infinite animatebg;background-image:url(https://cdn.booping.synth.download/assets/synth+grid+bg.png)!important;width:100%!important;height:100%!important;top:0!important;left:0!important}}@media (prefers-reduced-motion:reduce){& [class^=visitor-side-] [class^=visitor-banner-],& [class^=visitor-main-] [class^=visitor-content-] [class^=MkFeaturedPhotos-root-]{animation:unset!important}}}& [class^=SkNote-renote-]{& [class^=_noSelect\ MkAvatar-root-]{display:unset!important}}}@keyframes animatebg{0%{background-position:0 0}to{background-position:-960px -960px}}</style>
|
<style>#splash{& #splashSpinner{transform:unset!important;margin:2.5rem 0 0 2.5rem!important}}#sharkey_app{& [class^=visitor-root-]{& [class^=visitor-main-]{& [class^=visitor-homeButton-]{background:var(--MI_THEME-accent)!important;color:var(--MI_THEME-fgOnAccent)!important}& [class^=visitor-content-]{& ._pageContainer:not(:has(._pageScrollable)){background:linear-gradient(color-mix(in srgb,var(--MI_THEME-accent)15%,var(--MI_THEME-bg)),var(--MI_THEME-accent))!important}& [class^=pages-welcome-entrance-a-shape1-],& [class^=pages-welcome-entrance-a-shape2-]{display:none}& [class^=pages-welcome-timeline-root-]{transform:skew(-10deg);right:8rem!important;& ._gaps [class^=pages-welcome-timeline-note-note-]{opacity:.8;transition:all .2s;&:hover{transition:all .2s;opacity:1!important;& ._panel{background:var(--MI_THEME-panel)!important}}}}& [class^=pages-welcome-entrance-a-logoWrapper-]{& [class^=pages-welcome-entrance-a-poweredBy-]{color:var(--MI_THEME-fg)}& [class^=pages-welcome-entrance-a-misskey-]{width:120px!important}}& [class^=pages-welcome-entrance-a-logoWrapper-]:before{backdrop-filter:var(--MI-blur,blur(15px));background:color(from var(--MI_THEME-panel)srgb r g b/.5);border-radius:var(--MI-radius);content:"";z-index:-5;position:absolute;inset:-.8rem -.8rem -.5rem}& [class^=MkFeaturedPhotos-root-]{opacity:.8;background-repeat:repeat;background-size:auto;animation:100s linear infinite animatebg;background-image:url(https://cdn.booping.synth.download/assets/synth+grid+bg+dark.png)!important;width:100%!important;height:100%!important;top:0!important;left:0!important}& [class^=pages-welcome-entrance-a-contents-]{padding:130px 0;margin-left:auto!important;margin-right:auto!important;& [class^=MkVisitorDashboard-root-]:before{backdrop-filter:var(--MI-blur,blur(15px));background:color(from var(--MI_THEME-panel)srgb r g b/.5);border-radius:var(--MI-radius);content:"";position:absolute;inset:.7rem -1.5rem -1.5rem}& [class^=MkVisitorDashboard-tl-]{& [class^=MkVisitorDashboard-tlBody-]{height:40rem!important}}}& [class^=pages-welcome-entrance-a-federation-]{bottom:unset!important;z-index:50!important;top:16px!important}}}& [class^=visitor-side-]{background:linear-gradient(var(--MI_THEME-bg),var(--MI_THEME-accent));& [class^=visitor-banner-]{opacity:.8;background-repeat:repeat;background-size:auto;animation:100s linear infinite animatebg;background-image:url(https://cdn.booping.synth.download/assets/synth+grid+bg.png)!important;width:100%!important;height:100%!important;top:0!important;left:0!important}}@media (prefers-reduced-motion:reduce){& [class^=visitor-side-] [class^=visitor-banner-],& [class^=visitor-main-] [class^=visitor-content-] [class^=MkFeaturedPhotos-root-]{animation:unset!important}}}& [class^=SkNote-renote-]{& [class^=_noSelect\ MkAvatar-root-]{display:unset!important}}}@keyframes animatebg{0%{background-position:0 0}to{background-position:-960px -960px}}</style>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue