2025-08-25 16:49:04 -04:00
|
|
|
{
|
2025-08-25 21:54:37 -04:00
|
|
|
auto_https off
|
2025-08-25 14:15:52 -04:00
|
|
|
}
|
|
|
|
|
|
2025-08-25 21:54:37 -04:00
|
|
|
# short domain (http-only on :8550)
|
|
|
|
|
http://{$SHORT_DOMAIN}:8550 {
|
|
|
|
|
log {
|
|
|
|
|
output stdout
|
|
|
|
|
format console
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@shorten path /shorten
|
|
|
|
|
handle @shorten {
|
|
|
|
|
header {
|
|
|
|
|
Access-Control-Allow-Origin https://{$PASTE_DOMAIN}
|
|
|
|
|
Access-Control-Allow-Methods GET, OPTIONS
|
|
|
|
|
Access-Control-Allow-Headers *
|
|
|
|
|
Cache-Control no-store
|
|
|
|
|
}
|
|
|
|
|
reverse_proxy http://shlink-adapter:3000
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@shortenPre method OPTIONS path /shorten
|
|
|
|
|
respond @shortenPre 204
|
|
|
|
|
|
2026-03-12 14:59:55 -04:00
|
|
|
# everything else --> shlink ui/api
|
2025-08-25 21:54:37 -04:00
|
|
|
handle {
|
|
|
|
|
reverse_proxy http://shlink:8080
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-08-25 17:48:21 -04:00
|
|
|
|
2025-08-25 21:54:37 -04:00
|
|
|
# paste domain (http-only)
|
|
|
|
|
http://{$PASTE_DOMAIN}:8550 {
|
|
|
|
|
reverse_proxy http://privatebin:8080
|
|
|
|
|
}
|
2025-08-25 17:48:21 -04:00
|
|
|
|
2025-08-25 21:54:37 -04:00
|
|
|
# files domain (http-only)
|
|
|
|
|
http://{$FILES_DOMAIN}:8550 {
|
|
|
|
|
reverse_proxy http://lufi:8081
|
2025-08-25 16:49:04 -04:00
|
|
|
}
|
2025-08-25 18:07:05 -04:00
|
|
|
|
2025-08-26 13:07:23 -04:00
|
|
|
http://{$HOME_DOMAIN}:8550 {
|
|
|
|
|
root * /var/www/share
|
|
|
|
|
file_server
|
2025-08-25 23:09:03 -04:00
|
|
|
}
|