[horde] Error when communicating with the server
José Eduardo Martins
jemartins at fis.unb.br
Tue Sep 3 01:22:55 UTC 2013
Hi,
I have horde working fine in apache server. I am testing nginx server
and found some problems. I can log in successful in horde/imp (no
problems with dovecot/imap) but, after login, horde page is shows and
don't load folders tree. I get this error message: "Error when
communicating with the server".
Anybody have tested horde + nginx and can help me here.
This is my nginx.conf:
================================================
#user nobody;
worker_processes 4;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
gzip_types application/x-javascript text/css;
server {
listen 80;
server_name mailbk.fis.unb.br;
root /home/httpd/html;
index index.html index.htm index.php;
location / {
try_files $uri $uri/ /index.php?$args;
}
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
location ~ \.php$ {
#try_files $uri $uri/ /index.php?q=$uri&$args;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/lib/php-fpm/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
$document_root$fastcgi_script_name;
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
}
# HTTPS server
#
server {
listen 443;
server_name mailbk.fis.unb.br;
root /home/httpd/html;
index index.html index.htm index.php;
ssl on;
ssl_certificate /etc/pki/tls/certs/server.crt;
ssl_certificate_key /etc/pki/tls/private/server.key;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
gzip on;
gzip_types application/x-javascript text/css;
location / {
#try_files $uri $uri/ /rampage.php?$args;
try_files $uri $uri/ /index.php?$args;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
#try_files $uri $uri/ /index.php?q=$uri&$args;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/lib/php-fpm/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
include fastcgi_params;
}
}
}
================================================
Thanks in advance.
---
Eduardo
More information about the horde
mailing list