mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-28 02:20:41 +00:00
template for apache virtual host configuration
This commit is contained in:
parent
e1f1fcacad
commit
1f4e3de21b
27
conf/apache.virtualhost.template
Normal file
27
conf/apache.virtualhost.template
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<VirtualHost _default_:443>
|
||||
ServerName _DOMAIN_
|
||||
ErrorLog /var/log/apache2/seeddms-error.log
|
||||
CustomLog /var/log/apache2/seeddms-access.log combined
|
||||
|
||||
DocumentRoot _INSTALL_PATH_/www
|
||||
|
||||
SSLEngine on
|
||||
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
|
||||
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
|
||||
# SSLCertificateChainFile /just/if/needed/fullchain.cer
|
||||
|
||||
<Directory _INSTALL_PATH_>
|
||||
Options Indexes FollowSymLinks MultiViews
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<FilesMatch \.php$>
|
||||
# Apache 2.4.10+ can proxy to unix socket
|
||||
SetHandler "proxy:unix:/var/run/php/php8.2-fpm.sock|fcgi://localhost"
|
||||
</FilesMatch>
|
||||
|
||||
# Consider to install the webdav_checkout extension
|
||||
Alias /checkout _INSTALL_PATH_/www/ext/webdav_checkout/op/remote.php
|
||||
|
||||
</VirtualHost>
|
||||
Loading…
Reference in New Issue
Block a user