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
        }
}

Reply via email to