Hello,
First: to the FengOfficers (so they are reading this): this is unrelated to a professional installation I am associated with.
I am trying to implement a debian fastcgi/nginx/fengoffice setup described on howtoforge changing the setup in one central detail:
FengOffice is to run in a lxc-container, while nginx is to run on the host.
I can get the setup to run using an "index.php" containing just "phpinfo()" and the following nginx server on the host:
server {
listen 443;
server_name <SOMETHING> <SOMETHINGELSE>;
client_max_body_size 40M;
# SSL is using CACert credentials
ssl on;
ssl_certificate ...;
ssl_certificate_key ...;
ssl_session_timeout 5m;
ssl_protocols SSLv3 TLSv1;
ssl_ciphers ALL:!ADH:!EXPORT56:!LOW:RC4+RSA:+HIGH:+MEDIUM:+SSLv3:+EXP;
ssl_prefer_server_ciphers on;
# Proxy the "feng-container" lxc container
root /var/www/<SOMETHING>/web/;
index index.php;
location / {
proxy_pass hatetepe://10.10.10.3:80/;#for the sake of posting
}
location ~ \.php$ {
fastcgi_pass 10.10.10.3:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
include fastcgi_params;
fastcgi_param HTTPS on;
}
}
But this fails with FengOffice. Does anyone have experience with this or insight into how to set this up properly?
Thank you for any help.
Sincerely, Joh