nextcloud: Aktualisiere Variablen, automatische Versionsermittlung
This commit is contained in:
parent
e3e6cf142b
commit
d0caf506f9
5 changed files with 28 additions and 24 deletions
|
@ -1,36 +0,0 @@
|
|||
<Macro NCSite $domain $pool>
|
||||
<VirtualHost *:80>
|
||||
ServerName $domain
|
||||
DocumentRoot /data/nextcloud/$domain/
|
||||
Include /etc/apache2/conf-available/sao-cache.conf
|
||||
IncludeOptional /etc/apache2/conf-available/$domain.alias.conf
|
||||
ErrorLog /var/log/apache2/$domain.error
|
||||
ProxyTimeout 900
|
||||
|
||||
<IfModule proxy_fcgi_module>
|
||||
<FilesMatch ".+\.ph(ar|p|tml)$">
|
||||
SetHandler "proxy:unix:/run/php/php-fpm-$pool.sock|fcgi://$domain"
|
||||
</FilesMatch>
|
||||
<FilesMatch ".+\.phps$">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
<FilesMatch "^\.ph(ar|p|ps|tml)$">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
|
||||
<Directory /data/nextcloud/$domain/>
|
||||
Require all granted
|
||||
AllowOverride All
|
||||
Options FollowSymLinks MultiViews
|
||||
<IfModule mod_dav.c>
|
||||
Dav off
|
||||
</IfModule>
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
</Macro>
|
||||
|
||||
# Includieren der Variablen
|
||||
Include /etc/apache2/conf-available/nextcloud_sites.conf
|
||||
|
||||
UndefMacro NCSite
|
Loading…
Add table
Add a link
Reference in a new issue