mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 23:47:03 +03:00
Special web servers (Apache2/nginx) configs
This commit is contained in:
parent
e1adfdb504
commit
fde3e8241e
5 changed files with 120 additions and 65 deletions
16
build/configs/apache2/dav.mydomain.com
Normal file
16
build/configs/apache2/dav.mydomain.com
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<VirtualHost *:80>
|
||||
|
||||
AcceptPathInfo On
|
||||
ServerName dav.mydomain.com
|
||||
DocumentRoot /var/www/mydomain.com
|
||||
|
||||
RewriteEngine On
|
||||
RewriteRule /.well-known/carddav /index.php/dav [R,L]
|
||||
|
||||
<Directory "/var/www/mydomain.com">
|
||||
Options None
|
||||
Options +FollowSymlinks
|
||||
AllowOverride All
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
||||
16
build/configs/apache2/mydomain.com
Normal file
16
build/configs/apache2/mydomain.com
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<VirtualHost *:80>
|
||||
|
||||
AcceptPathInfo On
|
||||
ServerName mydomain.com
|
||||
DocumentRoot /var/www/mydomain.com
|
||||
|
||||
RewriteEngine On
|
||||
RewriteRule /.well-known/carddav /index.php/dav [R,L]
|
||||
|
||||
<Directory "/var/www/mydomain.com">
|
||||
Options None
|
||||
Options +FollowSymlinks
|
||||
AllowOverride All
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
||||
Loading…
Add table
Add a link
Reference in a new issue