Solved
location "/app/" { directory index index.php }
location "/app/*.php" { fastcgi socket "/run/php-fpm.sock" }
Thanks
2016-07-28 18:17 GMT-03:00 R0me0 *** :
> Yes that's what I intend
>
> I noticed directory index grammar just works out of location grammar and I
> cant setup more than one
Yes that's what I intend
I noticed directory index grammar just works out of location grammar and I
cant setup more than one time
2016-07-28 18:00 GMT-03:00 Alexander Hall :
>
>
> On July 28, 2016 10:33:04 PM GMT+02:00, R0me0 ***
> wrote:
> >Howdy !
> >
> >I'm running OpenBSD 5.9 stable branc
On July 28, 2016 10:33:04 PM GMT+02:00, R0me0 *** wrote:
>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
diiff
< # Root path and directory index is already index.php
> # Root path and directory index is already index.hml
2016-07-28 17:33 GMT-03:00 R0me0 *** :
> Howdy !
>
> I'm running OpenBSD 5.9 stable branch
>
> I can't setup two different locations with different index files
>
> Sample:
>
>
> ser
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
5 matches
Mail list logo