Welcome! Log In Create A New Profile

Advanced

Re: rewrite rul

July 21, 2011 03:32AM
On Thu, Jul 21, 2011 at 03:23:47AM -0400, yokodzun wrote:
> Igor Sysoev Wrote:
> -------------------------------------------------------
>
> > Не надо rewrite. Тогда всё
> > будет работать:
> >
> > server {
> > listen 80;
> > server_name domain.tld
> >
> > root /v/http/domain.tld;
> >
> > location ~ \.php$ {
> > fastcgi_pass
> > unix:/tmp/php-fpm.sock;
> > fastcgi_param DOCUMENT_ROOT
> > /v/http/domain.tld;
> > fastcgi_param SCRIPT_FILENAME
> >
> > /v/http/domain.tld$fastcgi_script_name;
> > include fastcgi_params;
> > }
> >
> > location ~ ^/admin/(.*)$ {
> > try_files $uri $uri/
> > /admin/index.php?$1;
> > }
> >
> > location ~ ^/(.*)$ {
> > try_files $uri $uri/ /index.php;
> > }
> > }
> >
>
> В таком виде слетает мерозпакастный CSS.

Как выглядит URL css и какая ошибка в error_log ?


--
Игорь Сысоев
http://sysoev.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

rewrite rul

yokodzun July 20, 2011 01:59PM

Re: rewrite rul

Igor Sysoev July 20, 2011 03:06PM

rewrite

Gena Makhomed July 20, 2011 03:54PM

Re: rewrite rul

yokodzun July 21, 2011 03:23AM

Re: rewrite rul

Igor Sysoev July 21, 2011 03:32AM

Re: rewrite rul

yokodzun July 21, 2011 05:11PM

Re: rewrite rul

Igor Sysoev July 22, 2011 09:28AM

Re: rewrite rul

yokodzun July 22, 2011 11:24AM

Re: rewrite rul

Igor Sysoev July 22, 2011 11:28AM

Re: rewrite rul

yokodzun July 25, 2011 03:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready