2023-04-14 14:01:17 +02:00
|
|
|
server {
|
|
|
|
listen 443 ssl;
|
|
|
|
listen [::]:443 ssl;
|
|
|
|
|
2023-04-17 19:23:48 +02:00
|
|
|
server_name {{ plex_host }}.{{ remote_domain }};
|
2023-04-14 14:01:17 +02:00
|
|
|
|
|
|
|
include /config/nginx/ssl.conf;
|
|
|
|
|
|
|
|
client_max_body_size 0;
|
|
|
|
proxy_redirect off;
|
|
|
|
proxy_buffering off;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
include /config/nginx/resolver.conf;
|
2023-04-27 10:52:49 +02:00
|
|
|
proxy_pass http://{{ plex_host }}.{{ aya01_host }}.{{ local_domain }};
|
|
|
|
|
2023-04-14 14:01:17 +02:00
|
|
|
|
|
|
|
proxy_set_header X-Plex-Client-Identifier $http_x_plex_client_identifier;
|
|
|
|
proxy_set_header X-Plex-Device $http_x_plex_device;
|
|
|
|
proxy_set_header X-Plex-Device-Name $http_x_plex_device_name;
|
|
|
|
proxy_set_header X-Plex-Platform $http_x_plex_platform;
|
|
|
|
proxy_set_header X-Plex-Platform-Version $http_x_plex_platform_version;
|
|
|
|
proxy_set_header X-Plex-Product $http_x_plex_product;
|
|
|
|
proxy_set_header X-Plex-Token $http_x_plex_token;
|
|
|
|
proxy_set_header X-Plex-Version $http_x_plex_version;
|
|
|
|
proxy_set_header X-Plex-Nocache $http_x_plex_nocache;
|
|
|
|
proxy_set_header X-Plex-Provides $http_x_plex_provides;
|
|
|
|
proxy_set_header X-Plex-Device-Vendor $http_x_plex_device_vendor;
|
|
|
|
proxy_set_header X-Plex-Model $http_x_plex_model;
|
|
|
|
}
|
|
|
|
}
|