Advertisement
Guest User

Untitled

a guest
Feb 28th, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. #user nobody;
  2.  
  3. worker_processes 1;
  4.  
  5.  
  6. events {
  7.  
  8. worker_connections 1024;
  9.  
  10. }
  11.  
  12.  
  13.  
  14. http {
  15.  
  16. include mime.types;
  17.  
  18. default_type application/octet-stream;
  19.  
  20. sendfile on;
  21.  
  22. keepalive_timeout 65;
  23.  
  24.  
  25. server {
  26.  
  27. listen 80;
  28. listen [::]:80;
  29.  
  30. #CHANGE THESE LINES##########
  31.  
  32. server_name xxxxxxxxxx.ddns.net localhost;
  33.  
  34. root /nginx/html/organizr;
  35.  
  36. #############################
  37.  
  38. index index.php index.html index.htm;
  39.  
  40. error_page 400 401 403 404 405 408 500 502 503 504 /error.php?error=$status;
  41.  
  42.  
  43. location ~ \.php$ {
  44.  
  45. fastcgi_pass 192.168.1.247:9000;
  46.  
  47. fastcgi_index index.php;
  48.  
  49. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  50.  
  51. include fastcgi_params;
  52.  
  53. }
  54.  
  55.  
  56.  
  57. location /jackett {
  58. #include C:/WPNXM/bin/nginx/conf/cookie_direct_blocking.conf;
  59. proxy_pass http://192.168.1.247:8081;
  60. proxy_set_header Host $host;
  61. proxy_set_header X-Real-IP $remote_addr;
  62. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  63. }
  64. location /torrent {
  65. #include C:/WPNXM/bin/nginx/conf/cookie_direct_blocking.conf;
  66. proxy_pass http://192.168.1.247:8082;
  67. proxy_set_header Host $host;
  68. proxy_set_header X-Real-IP $remote_addr;
  69. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  70. }
  71. location /sonarr {
  72. #include C:/WPNXM/bin/nginx/conf/cookie_direct_blocking.conf;
  73. proxy_pass http://192.168.1.247:8083;
  74. proxy_set_header Host $host;
  75. proxy_set_header X-Real-IP $remote_addr;
  76. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  77. }
  78. location /radarr {
  79. #include C:/WPNXM/bin/nginx/conf/cookie_direct_blocking.conf;
  80. proxy_pass http://192.168.1.247:8084;
  81. proxy_set_header Host $host;
  82. proxy_set_header X-Real-IP $remote_addr;
  83. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  84. }
  85. location /plexpy {
  86. #include C:/WPNXM/bin/nginx/conf/cookie_direct_blocking.conf;
  87. proxy_pass http://192.168.1.247:8085;
  88. proxy_set_header Host $host;
  89. proxy_set_header X-Real-IP $remote_addr;
  90. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  91. }
  92. location /plex {
  93. #include C:/WPNXM/bin/nginx/conf/cookie_direct_blocking.conf;
  94. proxy_pass http://192.168.1.247:32400;
  95. proxy_set_header Host $host;
  96. proxy_set_header X-Real-IP $remote_addr;
  97. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  98. }
  99. location /plexrequests {
  100. #include C:/WPNXM/bin/nginx/conf/cookie_direct_blocking.conf;
  101. proxy_pass http://192.168.1.247:3000;
  102. proxy_set_header Host $host;
  103. proxy_set_header X-Real-IP $remote_addr;
  104. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  105. }
  106. }
  107. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement