AnsweredAssumed Answered

Corrupted files using Reverse Proxy

Question asked by basruel on Apr 24, 2013
Latest reply on Apr 25, 2013 by basruel

I am using a NGINX as a reverse proxy to access tomcat webapp. Unfortunately my files are corrupted when they are uploaded to Alfresco WebDav. If I'm mapping the webdav volume directly without using the proxy I have no problem.

The proxy is working fine with Sharepoint protocol and share.

Do I need to do anything special in tomcat ?

Ubuntu 12.04.2 LTS

This is my nginx configuration.

server {
   # Server for /share und /alfresco
   listen 443;
   root /u005/alfresco-4.2.c/tomcat/webapps;
   ssl_certificate /etc/certificates/docs.chained.crt;
   ssl_certificate_key /etc/certificates/docs.decrypted.key;

   keepalive_timeout 60;
   ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
   ssl on;
   ssl_protocols SSLv3 TLSv1;

   ignore_invalid_headers on;
    client_header_timeout 440;
    client_body_timeout 440;
    send_timeout 440;
    client_max_body_size 20000m;
    proxy_buffer_size 528k;
    proxy_buffers 8 528k;

   location / {
      proxy_pass http://localhost:8080;
      proxy_set_header   X-Real-IP $remote_addr;
      proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header   X-Forwarded-Proto https;
      proxy_redirect off;
            proxy_connect_timeout      440;
            proxy_send_timeout         440;
            proxy_read_timeout         440;