|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
observium rewrite
- To: nginx-ru@xxxxxxxxx
- Subject: observium rewrite
- From: Habarov D.L <habich99@xxxxxxx>
- Date: Mon, 10 Dec 2012 01:14:19 +0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Content-Type:Message-ID:Reply-To:Date:Mime-Version:Subject:To:From; bh=TEeRPMppT6H8FPwh7qb1bHt/gNhJ/9zwH3ywbMILBGc=; b=B7C3ZvSluNhZ4pdDcrNUuSb2gxP1E4HEi+Ng46PSiEv8RBCfwv7aAr4JgnWY7hnM7o870GqaO70sM2heYNk1KkPWsKTRHSOXewt17TwCb3CdvQSBpVHsIltkiPL88sVm;
Доброго времени суток всем! Пытаюсь завести observium с nginx, но проблемы с реврайтами.
htaccess:
Options FollowSymlinks Multiviews
RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !\.(js|ico|txt|gif|jpg|png|css|php) RewriteRule ^(.*)$ index.php/$1/ AcceptPathInfo On
Правила для nginx:
location / { try_files $uri $uri/ @observium; } location @observium { rewrite ^(.+)$ /index.php/$1/ last; }
В error.log: 2012/12/10 01:09:05 [error] 32627#0: *8 rewrite or internal redirection cycle while redirect to named location "@observium", client: ***.***.**.**, server: observium.monitoring.mydomain.com, request: "GET /device/device=2/ HTTP/1.1", host: observium.monitoring.mydomain.com", referrer: "https://observium.monitoring.mydomain.com/"
Скажите пожалуйста, что я делаю не так?
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|
|
|