Moved docker tasks and made more dynamic

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-04-27 10:52:49 +02:00
parent 25c2aff50c
commit c193374444
8 changed files with 152 additions and 130 deletions

View File

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