Advertisement
Guest User

Untitled

a guest
Aug 15th, 2015
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. #
  2. # Part of /etc/sogo/sogo.conf
  3. #
  4. WOWorkersCount = 20;
  5. SOGoMaximumPingInterval = 3540;
  6. SOGoMaximumSyncInterval = 3540;
  7. SOGoInternalSyncInterval = 30;
  8. SOGoMaximumSyncResponseSize= 8192;
  9. SxVMemLimit = 1024;
  10.  
  11. #
  12. # part of nginx config file for SOGo (v2.3.1)
  13. #
  14.  
  15. location = /principals/ {
  16. rewrite ^ https://$server_name/SOGo/dav;
  17. allow all;
  18. }
  19.  
  20. location ^~ /SOGo {
  21. proxy_pass http://127.0.0.1:20000;
  22. #proxy_redirect http://127.0.0.1:20000/SOGo/ /SOGo;
  23. # forward user's IP address
  24. #proxy_set_header X-Real-IP $remote_addr;
  25. #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  26. #proxy_set_header Host $host;
  27. proxy_set_header x-webobjects-server-protocol HTTP/1.0;
  28. #proxy_set_header x-webobjects-remote-host 127.0.0.1;
  29. #proxy_set_header x-webobjects-server-name $server_name;
  30. #proxy_set_header x-webobjects-server-url $scheme://$host;
  31. proxy_connect_timeout 240;
  32. proxy_send_timeout 240;
  33. proxy_read_timeout 240;
  34. }
  35.  
  36. location ^~ /Microsoft-Server-ActiveSync {
  37. proxy_pass http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;
  38. proxy_redirect http://127.0.0.1:20000/Microsoft-Server-ActiveSync /;
  39. }
  40.  
  41. location ^~ /SOGo/Microsoft-Server-ActiveSync {
  42. proxy_pass http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;
  43. proxy_redirect http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync /;
  44. }
  45.  
  46. location /SOGo.woa/WebServerResources/ {
  47. alias /usr/lib/GNUstep/SOGo/WebServerResources/;
  48. }
  49. location /SOGo/WebServerResources/ {
  50. alias /usr/lib/GNUstep/SOGo/WebServerResources/;
  51. }
  52. location ^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ {
  53. alias /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2;
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement