ansible/privfrontends/templates/eu/misc.Caddyfile

68 lines
2.3 KiB
Plaintext
Raw Normal View History

2023-08-25 15:36:52 +05:30
sl.projectsegfau.lt sl.psf.lt {
reverse_proxy :7777
import def
}
inv.bp.projectsegfau.lt, i.bp.psf.lt {
2023-07-20 14:24:04 +05:30
reverse_proxy localhost:7573
header {
# disable FLoC tracking
Permissions-Policy "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), clipboard-read=(), display-capture=(), document-domain=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), screen-wake-lock=(), serial=(), usb=(), sync-xhr=(), xr-spatial-tracking=()";
2023-07-20 14:24:04 +05:30
# enable HSTS
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
# disable clients from sniffing the media type
X-Content-Type-Options nosniff
-Content-Security-Policy
2023-07-20 14:24:04 +05:30
# keep referrer data off of HTTP connections
Referrer-Policy no-referrer-when-downgrade
2023-07-20 14:24:04 +05:30
X-XSS-Protection "1; mode=block"
defer
}
import torloc invbp
import i2ploc pjsfi2szfkb4guqzmfmlyq4no46fayertjrwt4h2uughccrh2lvq.b32.i2p
}
proxy.lbry.projectsegfau.lt {
2023-07-20 14:24:04 +05:30
reverse_proxy localhost:3001
import def
}
2023-05-29 14:08:34 +05:30
aryak.me {
2023-07-20 14:24:04 +05:30
reverse_proxy https://prox-arya.p.projectsegfau.lt {
header_up Host prox-arya.p.projectsegfau.lt
}
2023-05-29 14:08:34 +05:30
}
arya.projectsegfau.lt {
redir https://aryak.me{uri}
}
## OLD URL REDIRECTS
bb.us.projectsegfau.lt bb.in.projectsegfau.lt bb.eu.projectsegfau.lt bb.projectsegfau.lt {
2023-07-20 14:24:04 +05:30
import def
import torloc beatbump
import i2ploc pjsflmvtqax7ii44qy4ladap65c3kqspbs7h7krqy7x43uovklla.b32.i2p
redir https://hyperpipe.projectsegfau.lt{uri}
}
2023-05-29 14:08:34 +05:30
invidious.mutahar.rocks {
2023-07-20 14:24:04 +05:30
redir https://inv.bp.projectsegfau.lt{uri} permanent
2023-05-29 14:08:34 +05:30
}
ferrit.projectsegfau.lt snooddit.projectsegfau.lt libreddit.mutahar.rocks {
2023-07-20 14:24:04 +05:30
redir https://libreddit.projectsegfau.lt{uri} permanent
2023-05-29 14:08:34 +05:30
}
lbry.mutahar.rocks {
2023-07-20 14:24:04 +05:30
redir https://lbry.projectsegfau.lt{uri} permanent
2023-05-29 14:08:34 +05:30
}
nitter.mutahar.rocks {
2023-07-20 14:24:04 +05:30
redir https://nitter.projectsegfau.lt{uri} permanent
2023-05-29 14:08:34 +05:30
}
#redir inv.bp.mutahar.rocks inv.bp.projectsegfau.lt permanent
#redir libreddit.mutahar.rocks libreddit.projectsegfau.lt permanent
#redir lbry.mutahar.rocks lbry.projectsegfau.lt permanent
#redir nitter.mutahar.rocks nitter.projectsegfau.lt permanent
2023-10-13 20:13:36 +05:30
www.midou.dev midou.dev {
#reverse_proxy https://midou36o.github.io
2023-10-13 20:18:02 +05:30
root * /var/www/midouwebsite
2023-10-13 20:13:36 +05:30
file_server
2023-10-13 20:18:02 +05:30
header_up Host {http.reverse_proxy.upstream.hostport}
import def
}