Previous Message
Next Message
Forum List
Message List
New Topic
Print View
George
October 19, 2009 01:11PM
Registered: 15 years ago
Posts: 109
I've been looking over lots of nginx configurations and the way to serve static files differed slightly, so which is the correct way as i've seen the following syntax
location ~* \.(jpg|jpeg|gif|css|png|js|ico)$ {
vs
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico)$ {
what's the difference between the 2 ?
thanks
George
Reply
Quote
RSS
Subject
Author
Posted
Correct way to serve static files ?
George
October 19, 2009 01:11PM
Re: Correct way to serve static files ?
Daniel Dourvaris
October 19, 2009 04:04PM
Re: Correct way to serve static files ?
George
October 19, 2009 07:12PM
Re: Correct way to serve static files ?
Igor Sysoev
October 20, 2009 09:18AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 250
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018