R0me0 ***
2016-07-28 20:33:04 UTC
Howdy !
I'm running OpenBSD 5.9 stable branch
I can't setup two different locations with different index files
Sample:
server "example.com"
listen on egress port 80
# Root path and directory index is already index.php
root "/htdocs/example.com"
location "/app/*.php" {
# setting new index for /app directory
directory index "index.php"
fastcgi socket "/run/php-fpm.sock"
}
Even configuring diferent locations / and /app and put index.html and
index.php respectively I can't to have the expected behavior.
Just able to set one or another not both.
Any ideas ?
Thanks in advance
I'm running OpenBSD 5.9 stable branch
I can't setup two different locations with different index files
Sample:
server "example.com"
listen on egress port 80
# Root path and directory index is already index.php
root "/htdocs/example.com"
location "/app/*.php" {
# setting new index for /app directory
directory index "index.php"
fastcgi socket "/run/php-fpm.sock"
}
Even configuring diferent locations / and /app and put index.html and
index.php respectively I can't to have the expected behavior.
Just able to set one or another not both.
Any ideas ?
Thanks in advance