Skip to content

Instantly share code, notes, and snippets.

@kissgyorgy
Last active September 5, 2019 20:50
Show Gist options
  • Save kissgyorgy/dda004cf45297ba71d96880cd6215954 to your computer and use it in GitHub Desktop.
Save kissgyorgy/dda004cf45297ba71d96880cd6215954 to your computer and use it in GitHub Desktop.
nginx configuration for Plex
server {
listen 443 ssl http2;
server_name plex.example.com;
location / {
proxy_pass http://127.0.0.1:32400;
include proxy_params;
# This is for proxying websocket connections for the web interface
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment