Advertisement
Guest User

plex.conf

a guest
Dec 21st, 2015
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. upstream plex-main {
  2. server http://plex-main.home:32400;
  3. }
  4.  
  5.  
  6. server {
  7. listen 80;
  8. server_name plex.rosekp.org;
  9.  
  10. location / {
  11. if ($http_x_plex_device_name = '') {
  12. rewrite ^/$ http://$http_host/web/index.html;
  13. }
  14. proxy_pass http://plex-main;
  15. include plex-proxy.conf;
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement