52 lines
988 B
Django/Jinja
52 lines
988 B
Django/Jinja
# NetData proxy
|
|
status.vakhrushev.me, :29999 {
|
|
proxy / 127.0.0.1:19999 {
|
|
transparent
|
|
}
|
|
|
|
tls anwinged@ya.ru
|
|
basicauth / {{ netdata.login }} {{ netdata.password }}
|
|
}
|
|
|
|
# Homepage
|
|
homepage.vakhrushev.me, vakhrushev.me {
|
|
root /var/www/homepage/current
|
|
|
|
tls anwinged@ya.ru
|
|
gzip
|
|
|
|
errors {
|
|
404 404/index.html
|
|
}
|
|
}
|
|
|
|
# Notes app
|
|
notes.vakhrushev.me {
|
|
proxy / 127.0.0.1:{{ notes_port }} {
|
|
transparent
|
|
}
|
|
|
|
tls anwinged@ya.ru
|
|
basicauth / {{ notes.login }} {{ notes.password }}
|
|
}
|
|
|
|
# Dayoff app
|
|
dayoff.vakhrushev.me {
|
|
proxy / 127.0.0.1:{{ dayoff_port }} {
|
|
transparent
|
|
}
|
|
|
|
tls anwinged@ya.ru
|
|
}
|
|
|
|
# Yandex Proxy Imager
|
|
preview.vakhrushev.me {
|
|
proxy /img https://webdav.yandex.ru {
|
|
transparent
|
|
header_upstream User-Agent "yandex-disk-previewer/1.0"
|
|
header_upstream Authorization "Basic {{ (yandex_disk.login ~ ':' ~ yandex_disk.password) | b64encode }}"
|
|
}
|
|
|
|
tls anwinged@ya.ru
|
|
}
|