Advertisement
nrgbistro

handbrake.subdomain.conf

Mar 19th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. map $http_upgrade $connection_upgrade {
  2. default upgrade;
  3. '' close;
  4. }
  5.  
  6. server {
  7. listen 443 ssl;
  8. listen [::]:443 ssl;
  9.  
  10. server_name handbrake.*;
  11. include /config/nginx/ssl.conf;
  12. client_max_body_size 0;
  13.  
  14. location / {
  15. include /config/nginx/proxy.conf;
  16. resolver 127.0.0.11 valid=30s;
  17. proxy_pass http://handbrake:5800;
  18. #proxy_http_version 1.1;
  19. proxy_set_header Upgrade $http_upgrade;
  20. proxy_set_header Connection $connection_upgrade;
  21. proxy_set_header Host $host;
  22. }
  23. location /websockify {
  24. include /config/nginx/proxy.conf;
  25. resolver 127.0.0.11 valid=30s;
  26. proxy_pass http://handbrake;
  27. proxy_set_header Upgrade $http_upgrade;
  28. proxy_set_header Connection $connection_upgrade;
  29. #proxy_read_timeout 86400;
  30. }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement