Welcome! Log In Create A New Profile

Advanced

Re: Convert Apache .htaccess rewrite to nginx

ryd994
June 25, 2015 07:12PM
On Wed, Jun 24, 2015, 15:31 nngin <nginx-forum@nginx.us> wrote:

searching the site, i found that this same question goes unanswered. Please
point me in the right direction of where i would be able to get help.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,259810,259876#msg-259876

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx


Not quite familiar with apache rewrite rules, but I think you just need:

rewrite ^(.*)/$ $1 permanent;
try_files $uri /index.php;

Not tested, apologies if I'm wrong.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Convert Apache .htaccess rewrite to nginx

nngin June 23, 2015 11:21AM

Re: Convert Apache .htaccess rewrite to nginx

nngin June 24, 2015 03:31PM

Re: Convert Apache .htaccess rewrite to nginx

ryd994 June 25, 2015 07:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 284
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready