Hi,
i used OpenBSD 4.9 (Nginx-0.8.53). All works fine.
Now i'm on OpenBSD 5.0, Nginx is now at 1.0.4 on OpenBSD
The old config file make an error when i want to use our roundcube webmail : 502 Bad Gateway
In the log file /var/log/httpd.err, i have the following error message :
2012/01/03 15:15:55 [crit] 2564#0: *1 connect() to unix:/tmp/php.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.92, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/tmp/php.sock:", host: "192.168.0.236"
The file /tmp/php.sock doesn't exist. I already tried "touch /tmp/php.sock" ... same error.
Here the config file :
...
location ~ .php$ {
fastcgi_pass unix:/tmp/php.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param HTTPS on;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
...
Thank you very much for your help, replies.
Wesley
www.mouedine.net