Nginx Rewrites not working

I just switched from Apache 2 to Nginx and my rewrites are not working. Main page loads fine, any link is a error 404. Xen Foro is installed in the root directory for the domain.

I have the following added to the virtual host file for my donain in sites-enabled.

Code:

Код:
 location / {


            index index.php;


            try_files $uri $uri/ /index.php?$uri&$args;

  }

   location /install/data/ {


        internal;


        }

 location /install/templates/ {


        internal...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ