Skip to content

Instantly share code, notes, and snippets.

@jsahlen
Created August 24, 2013 09:49
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jsahlen/6327193 to your computer and use it in GitHub Desktop.
Save jsahlen/6327193 to your computer and use it in GitHub Desktop.
Nginx config for PlexConnect running on port 8091
server {
server_name trailers.apple.com atv.plexconnect;
location / {
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_pass http://127.0.0.1:8091;
}
}
@jacobsvante
Copy link

Did you edit something else other than the http port in Settings.cfg to make this work?

@dovy
Copy link

dovy commented Nov 27, 2015

Settings.cfg and port_webserver in Settings.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment