On Sun, Nov 07, 2021 at 05:58:35AM -0800, [email protected] wrote:
> 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
>         }
> }
> 

Can you say more, like what's not working?

I put my .well-known/acme-challenge stanzas in 
the non https part of the httpd.conf.

--
Paul Wisehart

Reply via email to