N
N
Niko True2014-03-05 16:17:42
Nginx
Niko True, 2014-03-05 16:17:42

Nginx + vimbadmin - how to solve the problem with the config?

Problem with nginx config. Config:
server {
listen 80;
server_name vim.domain.ru;
root /usr/local/vimbadmin/public;
index index.php;
access_log /var/log/nginx/vim.access.log;
error_log /var/log/nginx/vim.error.log;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_intercept_errors on;
fastcgi_pass unix:/var/run/sock/php5-fpm.sock;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires max;
log_not_found off;
}
}
Browser returns: Loop
redirect detected on this page
Loading a web page at vim.domen.ru caused too many redirects. Try clearing cookies for this server or allowing them to be accepted from third party sites. If that doesn't help, the problem might not be with your computer, but with the server's configuration.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question