This commit is contained in:
kjeld Schouten-Lebbing 2020-02-28 11:44:13 +01:00
parent c2211a7b52
commit 9510f1f5f7
2 changed files with 8 additions and 10 deletions

View File

@ -75,11 +75,14 @@ location /jackett/ {
auth_request /auth-0;
add_header X-Frame-Options "SAMEORIGIN";
proxy_pass http://192.168.31.21:9117/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
}
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
}
location /plex/ {
auth_request /auth-4;

View File

@ -10,11 +10,6 @@ http {
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name organizr.dmz.schouten-lebbing.nl;
include custom/organizr.conf;
}
server {
listen 443 ssl;
server_name organizr.schouten-lebbing.nl;