@@ -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 }};
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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 }};
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user