Advertisement
cdelledonne

sonarr.subdomain.conf

Jul 13th, 2022
680
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.73 KB | None | 0 0
  1. server {
  2.     listen 443 ssl;
  3.     listen [::]:443 ssl;
  4.  
  5.     server_name sonarr.*;
  6.  
  7.     include /config/nginx/ssl.conf;
  8.  
  9.     client_max_body_size 0;
  10.  
  11.     location / {
  12.         include /config/nginx/proxy.conf;
  13.         include /config/nginx/resolver.conf;
  14.         set $upstream_app sonarr;
  15.         set $upstream_port 8989;
  16.         set $upstream_proto http;
  17.         proxy_pass $upstream_proto://$upstream_app:$upstream_port;
  18.     }
  19.  
  20.     location ~ (/sonarr)?/api {
  21.         include /config/nginx/proxy.conf;
  22.         include /config/nginx/resolver.conf;
  23.         set $upstream_app sonarr;
  24.         set $upstream_port 8989;
  25.         set $upstream_proto http;
  26.         proxy_pass $upstream_proto://$upstream_app:$upstream_port;
  27.    }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement