1
0

Изменен порядок сервисов

This commit is contained in:
Anton Vakhrushev 2019-11-10 13:13:35 +03:00
parent 1a21fc454b
commit dc2228cb15

View File

@ -1,3 +1,7 @@
# -------------------------------------------------------------------
# Proxy services
# -------------------------------------------------------------------
# NetData proxy
status.vakhrushev.me, :29999 {
proxy / 127.0.0.1:19999 {
@ -8,6 +12,21 @@ status.vakhrushev.me, :29999 {
basicauth / {{ netdata.login }} {{ netdata.password }}
}
# 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
}
# -------------------------------------------------------------------
# Applications
# -------------------------------------------------------------------
# Homepage
homepage.vakhrushev.me, vakhrushev.me {
root /var/www/homepage/current
@ -38,14 +57,3 @@ dayoff.vakhrushev.me {
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
}