Advertisement
Guest User

Nginx Reverse Plex Proxy Basic

a guest
Jul 23rd, 2018
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.32 KB | None | 0 0
  1. server {
  2.     # Port the server will listen on
  3.     listen 80;
  4.     # IP/host name Nginx will respond to
  5.     server_name plex.ip.address.here;
  6.     # server_name yourdomain.com
  7.  
  8.     # Pass source IP to application
  9.     proxy_set_header X-Real-IP $remote_addr;
  10.  
  11.     location / {
  12.         # Plex Address
  13.         proxy_pass http://plex.ip.address.here:32400;
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement