zefie

nginx server.conf

Aug 1st, 2020 (edited)
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 1.44 KB | None | 0 0
  1. server {
  2.         listen 80 default_server;
  3.         root /usr/share/nginx/html;
  4.         access_log off;
  5.  
  6.         server_name ivy;
  7.  
  8.         location / {
  9.  
  10.                 location ^~ /qbittorrent/ {
  11.                         include snippets/proxy_common.conf;
  12.                         proxy_set_header    Referer                 '';
  13.                         proxy_set_header    Origin                  '';
  14.                         proxy_pass http://protonvpn:8082/;
  15.                 }
  16.  
  17.                 location ^~ /sabnzbd/ {
  18.                         include snippets/proxy_common.conf;
  19.                         proxy_pass http://protonvpn:8080/sabnzbd/;
  20.                 }
  21.  
  22.                 location ^~ /sickchill/ {
  23.                         include snippets/proxy_common.conf;
  24.                         proxy_pass http://protonvpn:8081/sickchill/;
  25.                 }
  26.  
  27.                 location ^~ /headphones/ {
  28.                         include snippets/proxy_common.conf;
  29.                         proxy_pass http://protonvpn:8181/headphones/;
  30.                 }
  31.  
  32.                 location ^~ /couchpotato/ {
  33.                         include snippets/proxy_common.conf;
  34.                         proxy_pass http://protonvpn:5050/couchpotato/;
  35.                 }
  36.  
  37.                 location ^~ /jackett/ {
  38.                         include snippets/proxy_common.conf;
  39.                         proxy_pass http://protonvpn:9117/jackett/;
  40.                 }
  41.         }
  42. }
  43.  
Add Comment
Please, Sign In to add comment