Last active
September 5, 2019 20:50
-
-
Save kissgyorgy/dda004cf45297ba71d96880cd6215954 to your computer and use it in GitHub Desktop.
nginx configuration for Plex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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