Advertisement
Guest User

Untitled

a guest
May 25th, 2018
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. upstream backend {
  2. server 192.168.1.105:19999;
  3. keepalive 64;
  4. }
  5.  
  6. server {
  7. listen 443 ssl default_server;
  8. listen 80 default_server;
  9. root /config/www;
  10. index index.html index.htm index.php;
  11.  
  12. server_name nextcloud.domainA.com;
  13.  
  14. ssl_certificate /config/keys/letsencrypt/fullchain.pem;
  15. ssl_certificate_key /config/keys/letsencrypt/privkey.pem;
  16. ssl_dhparam /config/nginx/dhparams.pem;
  17. ssl_ciphers 'NO IDEA IF THIS IS IMPORTANT SO I DELETED IT';
  18. ssl_prefer_server_ciphers on;
  19.  
  20. client_max_body_size 0;
  21.  
  22. location domainB.com/sonarr {
  23. include /config/nginx/proxy.conf;
  24. proxy_pass http://192.168.1.105:8989/sonarr;
  25. }
  26.  
  27. location /radarr {
  28. include /config/nginx/proxy.conf;
  29. proxy_pass http://192.168.1.105:7878/radarr;
  30. }
  31.  
  32. location /sabnzbd {
  33. include /config/nginx/proxy.conf;
  34. proxy_pass http://192.168.1.105:8081/sabnzbd;
  35. }
  36.  
  37. #PLEX
  38. location /web {
  39. # serve the CSS code
  40. proxy_pass http://192.168.1.105:32400;
  41. }
  42.  
  43. # Main /plex rewrite
  44. location /plex {
  45. # proxy request to plex server
  46. proxy_pass http://192.168.1.105:32400/web;
  47. }
  48.  
  49. #OMBI CONTAINER
  50. location /ombi {
  51. include /config/nginx/proxy.conf;
  52. proxy_pass http://192.168.1.105:3579/ombi;
  53. }
  54. if ($http_referer ~* /ombi/) {
  55. rewrite ^/dist/([0-9\d*]).js /ombi/dist/$1.js last;
  56. }
  57.  
  58. location /plexpy {
  59. include /config/nginx/proxy.conf;
  60. proxy_pass http://192.168.1.105:8181/plexpy;
  61. }
  62.  
  63. location /nextcloud {
  64. include /config/nginx/proxy.conf;
  65. proxy_pass https://192.168.1.105:444/nextcloud;
  66. }
  67.  
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement