diff --git a/README.md b/README.md index 0321b73e9..942d7edfa 100644 --- a/README.md +++ b/README.md @@ -373,6 +373,19 @@ Example config for apache: ``` +Example config for nginx: +``` +location /jackett { + proxy_pass http://127.0.0.1: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_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Forwarded-Host $host; + proxy_redirect off; +} +``` + ## Troubleshooting * __Command line switches__