Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
How can i write this location?
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
Chancey
September 08, 2009 06:10AM
Hi guys!
How to set expires the URL like http://a.com/a.js?v=xxx and http://a.com/a.css?v=xxx.
only match URL with "?v="
i write this, but can't invalidation :
location ~* \.(js|css)\?v=.* {
expires 1y;
}
2009-09-08
Chancey
Reply
Quote
RSS
Subject
Author
Posted
How can i write this location?
Chancey
September 08, 2009 06:10AM
Re: How can i write this location?
Maxim Dounin
September 08, 2009 10:00AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 184
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018