radarr: add nginx conf

This commit is contained in:
Lukáš Kucharczyk 2021-06-21 13:09:11 +02:00
parent 6ebb25af72
commit 2269007083
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
server {
server_name {{ role_name }}.{{ base_domain }};
listen 80;
return 301 https://$server_name$request_uri;
}
server {
server_name {{ role_name }}.{{ base_domain }};
listen 443 ssl http2;
include /etc/nginx/snippets/authelia-endpoint.conf;
location / {
include /etc/nginx/snippets/proxy.conf;
include /etc/nginx/snippets/authelia-auth.conf;
set $upstream http://{{ role_name }}:7878;
proxy_pass $upstream;
}
}