September 11, 2016 08:12AM
I am trying to make pretty urls using rewrite rules but they are not working

1. should be rewrite to

location = /s1/(.*)$ {
rewrite ^/s1/(.*) /file/server/$1 permanent;

2. should be rewrite to
Subject Author Posted

Rewrite rules not working

khav September 11, 2016 08:12AM

Re: Rewrite rules not working

Francis Daly September 11, 2016 09:46AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
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