Added tautulli

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-04-27 01:05:24 +02:00
parent 24c41f10ce
commit 25c2aff50c
14 changed files with 346 additions and 22 deletions

View File

@@ -0,0 +1,20 @@
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name {{ hass_host }}.{{ backup_domain }};
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/resolver.conf;
proxy_pass http://{{ hass_host }}.{{ pi_host }}.{{ local_domain }};
}
location ~ ^/(api|local|media)/ {
include /config/nginx/resolver.conf;
proxy_pass http://{{ hass_host }}.{{ pi_host }}.{{ local_domain }};
}
}

View File

@@ -12,7 +12,7 @@ server {
location / {
include /config/nginx/resolver.conf;
proxy_pass http://172-16-69-11.{{ vault_plex_server_id }}.plex.direct:{{ plex_port }}/
proxy_pass http://{{ aya01_ip | replace('.', '-') }}.{{ vault_plex_server_id }}.plex.direct:{{ plex_port }}/;
proxy_set_header X-Plex-Client-Identifier $http_x_plex_client_identifier;
proxy_set_header X-Plex-Device $http_x_plex_device;

View File

@@ -0,0 +1,84 @@
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name {{ qbit_host }}.{{ backup_domain }};
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/resolver.conf;
proxy_pass http://{{ qbit_host }}.{{ aya01_host }}.{{ local_domain }};
proxy_set_header Referer '';
proxy_set_header X-Forwarded-Host $host;
}
location ~ (/qbittorrent)?/api {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
proxy_pass http://{{ qbit_host }}.{{ aya01_host }}.{{ local_domain }};
rewrite /qbittorrent(.*) $1 break;
proxy_set_header Referer '';
proxy_set_header X-Forwarded-Host $host;
}
location ~ (/qbittorrent)?/command {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
proxy_pass http://{{ qbit_host }}.{{ aya01_host }}.{{ local_domain }};
rewrite /qbittorrent(.*) $1 break;
proxy_set_header Referer '';
proxy_set_header X-Forwarded-Host $host;
}
location ~ (/qbittorrent)?/query {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
proxy_pass http://{{ qbit_host }}.{{ aya01_host }}.{{ local_domain }};
rewrite /qbittorrent(.*) $1 break;
proxy_set_header Referer '';
proxy_set_header X-Forwarded-Host $host;
}
location ~ (/qbittorrent)?/login {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
proxy_pass http://{{ qbit_host }}.{{ aya01_host }}.{{ local_domain }};
rewrite /qbittorrent(.*) $1 break;
proxy_set_header Referer '';
proxy_set_header X-Forwarded-Host $host;
}
location ~ (/qbittorrent)?/sync {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
proxy_pass http://{{ qbit_host }}.{{ aya01_host }}.{{ local_domain }};
rewrite /qbittorrent(.*) $1 break;
proxy_set_header Referer '';
proxy_set_header X-Forwarded-Host $host;
}
location ~ (/qbittorrent)?/scripts {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
proxy_pass http://{{ qbit_host }}.{{ aya01_host }}.{{ local_domain }};
rewrite /qbittorrent(.*) $1 break;
proxy_set_header Referer '';
proxy_set_header X-Forwarded-Host $host;
}
}

View File

@@ -0,0 +1,15 @@
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name {{ zoneminder_host }}.{{ backup_domain }};
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/resolver.conf;
proxy_pass http://{{ zoneminder_host }}.{{ aya01_host }}.{{ local_domain }};
}
}