Hey everyone
I just installed dokuwiki on my server and most of it seems to work (all (save one) the admin pages work, created a start page, used the ACL, etc) however if I click the Extension Manager link on the Administration page I'm getting a 502 Bad Gateway error and I haven't got the faintest idea what might be causing it.
The following error showed up in my nginx logs:
2015/03/18 12:05:13 [error] 5025#0: *46 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.1.1, server: <domain>, request: "GET /doku.php?id=start&do=admin&page=extension HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "<domain>", referrer: "https://<domain>/doku.php?id=start&do=admin"
I'm running an nginx server with php5 with the following nginx virtual server (some of the stuff is for other software I'm running on the server, I left out the location directives that aren't related to dokuwiki):
server {
listen 443 ssl;
server_name <domain>;
ssl on;
ssl_certificate /etc/ssl/certs/ssl-unified.crt;
ssl_certificate_key /etc/ssl/private/ssl.key;
ssl_prefer_server_ciphers on;
ssl_ciphers "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AE$
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 5m;
root /usr/share/nginx/html/<domain>;
index index.php index.html index.htm;
access_log /var/log/nginx/<domain>.access.log;
error_log /var/log/nginx/<domain>.error.log;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location / {
access_log /var/log/nginx/<domain>/dokuwiki.access.log;
error_log /var/log/nginx/<domain>/dokuwiki.error.log;
try_files $uri $uri/ =404;
client_max_body_size 5m;
client_body_timeout 60;
}
location ~ /(doku|index|install)\.php$$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location ~ /lib/.+\.php$$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location ~ ^/(data|conf|bin|inc)/ {
deny all;
}
location ~ /\.ht {
deny all;
}
}
Thanks,
Wieke