From 2ee021f2a651505e0607db1fc03503f25ce7f725 Mon Sep 17 00:00:00 2001 From: nomandera <1133344+nomandera@users.noreply.github.com> Date: Sun, 26 Jun 2022 16:47:35 +0000 Subject: [PATCH 1/2] get_iplayer subdomain sample config --- get_iplayer.subdomain.conf | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 get_iplayer.subdomain.conf diff --git a/get_iplayer.subdomain.conf b/get_iplayer.subdomain.conf new file mode 100644 index 0000000..61adc89 --- /dev/null +++ b/get_iplayer.subdomain.conf @@ -0,0 +1,40 @@ +## Version 2022/06/25 +# make sure that your dns has a cname set for get_iplayer and that your get_iplayer container is named get_iplayer + +server { + listen 443 ssl; + listen [::]:443 ssl; + + server_name get_iplayer.*; + + include /config/nginx/ssl.conf; + + client_max_body_size 0; + + # enable for ldap auth, fill in ldap details in ldap.conf + #include /config/nginx/ldap.conf; + + # enable for Authelia + #include /config/nginx/authelia-server.conf; + + location / { + # enable the next two lines for http auth + #auth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; + + # enable the next two lines for ldap auth + #auth_request /auth; + #error_page 401 =200 /ldaplogin; + + # enable for Authelia + #include /config/nginx/authelia-location.conf; + + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app get_iplayer; + set $upstream_port 1935; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + } +} From 013ba8a634a2d95b8a84895ecdc86913a6fbc304 Mon Sep 17 00:00:00 2001 From: nomandera <1133344+nomandera@users.noreply.github.com> Date: Sun, 26 Jun 2022 16:59:10 +0000 Subject: [PATCH 2/2] make ext .sample --- get_iplayer.subdomain.conf => get_iplayer.subdomain.conf.sample | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename get_iplayer.subdomain.conf => get_iplayer.subdomain.conf.sample (100%) diff --git a/get_iplayer.subdomain.conf b/get_iplayer.subdomain.conf.sample similarity index 100% rename from get_iplayer.subdomain.conf rename to get_iplayer.subdomain.conf.sample