
Mam problem z odpaleniem redmine ponieważ po wpisaniu adresu ip/redmine wywala mi błąd: [h=1]502 Bad Gateway
fajnie ale nie o to chodziło

Problem jest z konfiguracją nginx.conf
Wygląda on tak:
Kod: Zaznacz cały
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
# multi_accept on;
}
http {
include /etc/nginx/mime.types;
access_log /var/log/nginx/access.log;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
tcp_nodelay on;
gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
upstream thin_cluster {
server unix:/tmp/thin.0.sock;
server unix:/tmp/thin.1.sock;
server unix:/tmp/thin.2.sock;
server unix:/tmp/thin.3.sock;
}
server {
listen ip-serera:80;
root /var/www/redmine/;
index index.html index.htm index.php;
server_name name;
location / {
try_files $uri $uri/ /index.php;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
error_log /var/www/vhosts/redmine/logs/error.log;
access_log /var/log/nginx/access.log;
access_log /var/www/vhosts/redmine/logs/access.log;
location ~ /\.ht {
deny all;
}
}
Instalację robiłem wg dokumentacji redmine ale problem polega na tym, że wszedzie ładnie jest opisane dla apache2 a dla nginx nie ma :/ Działam na debian 6
Ewentualnie moze byc problem z php5/fpm ale jak chce sciagnac paczke to nie widze folderu fpm w folderze etc/php5