Skip to content
Snippets Groups Projects
Commit 6e942658 authored by jurgenhaas's avatar jurgenhaas
Browse files

Add support for .well-known services, to be activated with...

Add support for .well-known services, to be activated with docker4drupal.webserver.overwriteconfig = true
parent 2dc63981
No related branches found
No related tags found
1 merge request!51Merging develop into main
Pipeline #719702 passed
This commit is part of merge request !51. Comments created here will be created in the context of that merge request.
<VirtualHost *:80>
DocumentRoot "/var/www/html/{{ webRoot }}/"
ServerName default
Include conf/preset.conf
<Location />
Require all granted
</Location>
SetEnv HTTPS on
SetEnvIf X-Forwarded-Proto https HTTPS=on
SetEnvIf Request_URI "^/\.healthz$" dontlog
RedirectMatch 204 .healthz
<IfModule mod_proxy_http.c>
SSLProxyEngine on
</IfModule>
ServerName default
Include conf/preset.conf
<Location />
Require all granted
</Location>
<FilesMatch "^\.(?!well-known)">
Order allow,deny
Deny from all
</FilesMatch>
<FilesMatch "\.(?:sh|sql|mysql|po|tpl|make|test)$">
Order allow,deny
Deny from all
</FilesMatch>
<FilesMatch "^wodby\.yml">
Order allow,deny
Deny from all
</FilesMatch>
<FilesMatch "^Makefile">
Order allow,deny
Deny from all
</FilesMatch>
<DirectoryMatch "/\.(?!well-known)">
Order allow,deny
Deny from all
</DirectoryMatch>
SetEnvIf Request_URI "^/\.healthz$" dontlog
RedirectMatch 204 .healthz
SetEnv HTTPS on
SetEnvIf X-Forwarded-Proto https HTTPS=on
<IfModule mod_proxy_http.c>
SSLProxyEngine on
</IfModule>
</VirtualHost>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment