On Tue, May 29, 2018 at 10:34:24PM +0200, viq wrote:
> On 18-05-29 08:07:00, Landry Breuil wrote:
> 
> FWIW, this seems to work now:
>     location "/" {
>         directory index index.php
>         root "/davical/htdocs"
>     }
>     location "/*.php*" {
>         fastcgi socket "/run/php-fpm.sock"
>         root "/davical/htdocs"
>     }
>     location "/*.css" {
>         directory index index.php
>         root "/davical/htdocs"
>     }
>     location "/*.js" {
>         directory index index.php
>         root "/davical/htdocs"
>     }
>     location "/*.gif" {
>         directory index index.php
>         root "/davical/htdocs"
>     }
> 
> dirty, but seems to do the trick. Which after cleaning up may be worth
> mentioning in the README?

Well, right now we have an apache config in files/, so any improvement
is welcome :) Cant you factorize those blocks ?

Reply via email to