Re: Separate location for files served by php-fpm

2023-05-24 Thread Francis Daly
On Thu, May 18, 2023 at 09:14:42PM -0700, Palvelin Postmaster via nginx wrote: Hi there, > My goal is to serve only requests which include URI /files/hash/* > using a separate location block. Everything else should be served by > the default location block I included in my previous message. Unte

Re: Separate location for files served by php-fpm

2023-05-18 Thread Palvelin Postmaster via nginx
> On 15. May 2023, at 17.15, Francis Daly wrote: > > On Mon, May 15, 2023 at 12:46:14PM -1000, Palvelin Postmaster via nginx wrote: >>> On 8. May 2023, at 8.49, Palvelin Postmaster via nginx >>> wrote: > > Hi there, > >>> I use php-fpm together with nginx. >>> >>> My PHP app serves files w

Re: Separate location for files served by php-fpm

2023-05-15 Thread Francis Daly
On Mon, May 15, 2023 at 12:46:14PM -1000, Palvelin Postmaster via nginx wrote: > > On 8. May 2023, at 8.49, Palvelin Postmaster via nginx > > wrote: Hi there, > > I use php-fpm together with nginx. > > > > My PHP app serves files which have hashed filenames and no filename > > extension from

Re: Separate location for files served by php-fpm

2023-05-15 Thread Palvelin Postmaster via nginx
Can anyone help me with this? > On 8. May 2023, at 8.49, Palvelin Postmaster via nginx > wrote: > > Hi all! > > I use php-fpm together with nginx. > > My PHP app serves files which have hashed filenames and no filename extension > from a specific subdirectory url, e.g > /files/hash/31b4ba4

Separate location for files served by php-fpm

2023-05-08 Thread Palvelin Postmaster via nginx
Hi all! I use php-fpm together with nginx. My PHP app serves files which have hashed filenames and no filename extension from a specific subdirectory url, e.g /files/hash/31b4ba4a0dc6536201c25e92fe464f85 I would like to be able to set, for example, a separate ’expires’ value to these files wi