Dnia 7 listopada 2021 14:58:35 CET, latin...@vcn.bc.ca napisał/a:
>Hello List:
>
>Could somebody please tell me what is wrong in my httpd.conf?
>historia is a ln -s to dokuwiki.
>
>server "historia.agroena.org" {
>       listen on * tls port 443
>       root "/htdocs/historia"
>       tls {
>               certificate "/etc/ssl/agroena.org.fullchain.pem"
>               key "/etc/ssl/private/agroena.org.key"
>       }
>
>       location "/pub/*" {
>               directory auto index
>       }
>
>       location "/.well-known/acme-challenge/*" {
>               root "/acme"
>               request strip 2
>       }
>               location "*.php" {
>               fastcgi socket "/run/php-fpm.sock"
>       }
>       location "*~" {
>                block drop
>        }
>        location match "/kb/data/" {
>                block drop
>        }
>        location match "/kb/conf/" {
>                block drop
>        }
>        location match "/kb/bin/" {
>                block drop
>        }
>        location match "/kb/inc/" {
>                block drop
>        }
>        location match "/kb/vendor/" {
>                block drop
>        }
>}
>

I think that since httpd is chrooted, so your symlink has to be relative, and 
point to directory inside chroot.

Also, why are you using symlink?

Kind regards,
--
Łukasz Moskała

Reply via email to