Hello, I followed ibracorp's tutorial on setting up swag/nginx. I'm reasonably sure I have everything correct, however the first service I tried, plex doesn't seem to work. I have installed all mods except for authelia. My DNS is through cloudflare. I had A records for all my services before, but it seems that this wants an A record for the domain only and CNAME records for subdomains. I removed the A record I had for plex and replaced with CNAME/domain. I would prefer to run this proxied if possible. Setting the CNAME record to DNS only also does not work. I have forwarded ports 80 and 443 to unraid. I also tried the 44301 and 8001 ports as suggested in the tutorial. I'm not sure what I'm missing. Per the swag log, the auto-proxy does appear to recognize plex. In an attempt to see how it was configuring it, I tried to look at the
/mnt/user/appdata/swag/nginx/proxy-confs/plex.subdomain.conf.sample
but it is blank. I looked at a few of the other sample configs and they are blank as well.
I'm not sure what's missing. Any help is appreciated. My swag container log is below:
cont-init: info: /etc/cont-init.d/10-adduser exited 0
cont-init: info: running /etc/cont-init.d/20-config
cont-init: info: /etc/cont-init.d/20-config exited 0
cont-init: info: running /etc/cont-init.d/30-keygen
cont-init: info: /etc/cont-init.d/30-keygen exited 0
cont-init: info: running /etc/cont-init.d/50-config
cont-init: info: /etc/cont-init.d/50-config exited 0
cont-init: info: running /etc/cont-init.d/60-renew
cont-init: info: /etc/cont-init.d/60-renew exited 0
cont-init: info: running /etc/cont-init.d/70-templates
cont-init: info: /etc/cont-init.d/70-templates exited 0
cont-init: info: running /etc/cont-init.d/90-custom-folders
cont-init: info: /etc/cont-init.d/90-custom-folders exited 0
cont-init: info: running /etc/cont-init.d/95-docker
cont-init: info: /etc/cont-init.d/95-docker exited 0
cont-init: info: running /etc/cont-init.d/98-auto-proxy
cont-init: info: /etc/cont-init.d/98-auto-proxy exited 0
cont-init: info: running /etc/cont-init.d/98-cloudflare-real-ip
cont-init: info: /etc/cont-init.d/98-cloudflare-real-ip exited 0
cont-init: info: running /etc/cont-init.d/98-inotify
cont-init: info: /etc/cont-init.d/98-inotify exited 0
cont-init: info: running /etc/cont-init.d/99-custom-files
cont-init: info: /etc/cont-init.d/99-custom-files exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-mods: starting
s6-rc: info: service init-mods successfully started
s6-rc: info: service init-mods-package-install: starting
s6-rc: info: service init-mods-package-install successfully started
s6-rc: info: service init-mods-end: starting
s6-rc: info: service init-mods-end successfully started
s6-rc: info: service init-services: starting
s6-rc: info: service init-services successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun cron (no readiness notification)
services-up: info: copying legacy longrun fail2ban (no readiness notification)
services-up: info: copying legacy longrun inotify (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
services-up: info: copying legacy longrun php-fpm (no readiness notification)
s6-rc: info: service legacy-services successfully started
s6-rc: info: service 99-ci-service-check: starting
s6-rc: info: service 99-ci-service-check successfully started
User gid: 100
-------------------------------------
using keys found in /config/keys
Variables set:
PUID=99
PGID=100
TZ=America/Chicago
URL=********.***
SUBDOMAINS=wildcard
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=false
VALIDATION=dns
CERTPROVIDER=
DNSPLUGIN=cloudflare
EMAIL=********@******.***
STAGING=false
Using Let's Encrypt as the cert provider
SUBDOMAINS entered, processing
Wildcard cert for ********.*** will be requested
E-mail address entered: ********@******.***
dns validation via cloudflare plugin is selected
Certificate exists; parameters unchanged; starting nginx
The cert does not expire within the next day. Letting the cron script handle the renewal attempts overnight (2:08am).
**** installing docker and docker compose ****
**** docker and docker-compose already installed, skipping ****
**** Remote docker service dockersocket will be used ****
**** Using preset proxy conf for plex ****
**** No preset proxy conf found for swag, generating from scratch ****
**** Setting upstream address swag for swag ****
**** Setting port 443 for swag ****
**** Setting proto http for swag ****
**** Setting url swag.* for swag ****
fetch http://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
OK: 257 MiB in 229 packages
[custom-init] no custom files found exiting...
[ls.io-init] done.
MOD Auto-reload: Watching the following files/folders for changes
/config/nginx/authelia-location.conf
/config/nginx/authelia-server.conf
/config/nginx/ldap.conf
/config/nginx/nginx.conf
/config/nginx/proxy-confs
/config/nginx/proxy.conf
/config/nginx/site-confs
/config/nginx/ssl.conf
Server ready