Welcome!
Log In
Create A New Profile
Home
>
Nginx Related Forums
>
How to...
> Topic
Advanced
domain.tld/folder/subfolder/* to domain.tld/subfolder/*
Posted by
rumen
Forum List
Message List
New Topic
rumen
domain.tld/folder/subfolder/* to domain.tld/subfolder/*
December 05, 2010 05:06AM
Registered: 13 years ago
Posts: 1
How to do this forward with nginx rewrite rules without making infinity loop?
domain.tld/folder/subfolder/* to domain.tld/subfolder/*
If its impossible, can I do something to accomplish the same result?
Reply
Quote
karthick62
Re: domain.tld/folder/subfolder/* to domain.tld/subfolder/*
December 31, 2010 12:41AM
Registered: 13 years ago
Posts: 4
I did this for my setup which was exactly the same as yours and it worked.
rewrite /folder/subfolder/ http://domain.tld/subfolder/ permanent;
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 387
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018