The `sonarr.yml` playbook and corresponding role deploy Sonarr, the indexer manager for the *arr suite, in a Podman container. Note that we're relocating the log files from the Sonarr AppData directory to `/var/log/sonarr` so they can be picked up by Fluent Bit.
21 lines
658 B
Django/Jinja
21 lines
658 B
Django/Jinja
# vim: set ft=apache.jinja :
|
|
<VirtualHost _default_:443>
|
|
ServerName sonarr.pyrocufflink.blue
|
|
|
|
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
|
|
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
|
|
SSLCertificateChainFile /etc/pki/tls/certs/localhost.crt
|
|
|
|
ProxyPreserveHost On
|
|
ProxyRequests Off
|
|
|
|
RewriteEngine On
|
|
RewriteCond %{HTTP:Upgrade} =websocket [NC]
|
|
RewriteRule /(.*) ws://localhost:8989/$1 [P,L]
|
|
RewriteRule /(.*) http://localhost:8989/$1 [P,L]
|
|
ProxyPassReverse / http://localhost:8989/
|
|
|
|
Header always set \
|
|
Strict-Transport-Security "max-age=63072000; includeSubDomains"
|
|
</VirtualHost>
|