Advertisement
Guest User

Untitled

a guest
Jan 11th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. ##
  2. # You should look at the following URL's in order to grasp a solid understanding
  3. # of Nginx configuration files in order to fully unleash the power of Nginx.
  4. # http://wiki.nginx.org/Pitfalls
  5. # http://wiki.nginx.org/QuickStart
  6. # http://wiki.nginx.org/Configuration
  7. #
  8. # Generally, you will want to move this file somewhere, and start with a clean
  9. # file but keep this around for reference. Or just disable in sites-enabled.
  10. #
  11. # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
  12. ##
  13.  
  14.  
  15. # SONARR #
  16. server {
  17. listen 80;
  18. listen [::]:80;
  19. server_name sonarr.wawona.lan;
  20.  
  21. location /{
  22. proxy_pass http://127.0.0.1:8989;
  23. proxy_set_header Host $host;
  24. proxy_set_header X-Real-IP $remote_addr;
  25. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  26. }
  27. }
  28.  
  29.  
  30. # EMBY #
  31. server {
  32. listen 80;
  33. listen [::]:80;
  34.  
  35. server_name emby.wawona.lan;
  36. location /{
  37. proxy_pass http://127.0.0.1:8096;
  38. proxy_redirect off;
  39. proxy_set_header Host $host;
  40. proxy_set_header X-Real-IP $remote_addr;
  41. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  42. #auth_basic "Restricted";
  43. #auth_basic_user_file "/etc/nginx/.htpasswd";
  44. }
  45. }
  46. ~
  47. ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement