Advertisement
Guest User

LE_Nextcloud_Unraid

a guest
Apr 28th, 2018
1,535
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2. listen 443 ssl default_server;
  3. listen 80 default_server;
  4. root /config/www;
  5. index index.html index.htm index.php;
  6.  
  7. server_name nextcloud.server.com;
  8.  
  9. ssl_certificate /config/keys/letsencrypt/fullchain.pem;
  10. ssl_certificate_key /config/keys/letsencrypt/privkey.pem;
  11. ssl_dhparam /config/nginx/dhparams.pem;
  12. ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
  13. ssl_prefer_server_ciphers on;
  14.  
  15. client_max_body_size 0;
  16.  
  17. location / {
  18. include /config/nginx/proxy.conf;
  19. proxy_pass https://192.168.1.20:444;
  20. }
  21.  
  22. location ~ /netdata/(?<ndpath>.*) {
  23. proxy_set_header X-Forwarded-Host $host;
  24. proxy_set_header X-Forwarded-Server $host;
  25. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  26. proxy_pass http://backend/$ndpath$is_args$args;
  27. proxy_http_version 1.1;
  28. proxy_pass_request_headers on;
  29. proxy_set_header Connection "keep-alive";
  30. proxy_store off;
  31. }
  32. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement