Welcome! Log In Create A New Profile

Advanced

Re: How do I exclude one folder from a try_files?

June 25, 2017 04:36PM
Hi Francis,

thank you for your helpful posts! Also thanks for the answer in my other thread from last December. I just now spotted your response there.

You are right:

location ^~ /wiki/images {
# Separate location for /wiki/images
root /home/wiki/www;
}

This is all I needed. I thought the root would be inherited as it is set in the location / block already. Obviously this is not the case.

Thanks again!

Jörg
Subject Author Posted

How do I exclude one folder from a try_files?

Joergi June 24, 2017 06:08PM

Re: How do I exclude one folder from a try_files?

B.R. via nginx June 25, 2017 04:38AM

Re: How do I exclude one folder from a try_files?

Joergi June 25, 2017 07:50AM

Re: How do I exclude one folder from a try_files?

Francis Daly June 25, 2017 02:04PM

Re: How do I exclude one folder from a try_files?

Joergi June 25, 2017 04:36PM

Re: How do I exclude one folder from a try_files?

Francis Daly June 26, 2017 12:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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