Removed the 'virtualhost' files. They can be found on sabre.io in the future.
This commit is contained in:
parent
03ea870f80
commit
8c426516c2
2 changed files with 0 additions and 47 deletions
|
@ -1,16 +0,0 @@
|
|||
<VirtualHost *:80>
|
||||
|
||||
DocumentRoot /var/www/dav.mydomain.com/html
|
||||
ServerName dav.mydomain.com
|
||||
|
||||
RewriteEngine On
|
||||
RewriteRule /.well-known/carddav /card.php [R,L]
|
||||
RewriteRule /.well-known/caldav /cal.php [R,L]
|
||||
|
||||
<Directory "/var/www/dav.mydomain.com/html">
|
||||
Options None
|
||||
Options +FollowSymlinks
|
||||
AllowOverride All
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
|
@ -1,31 +0,0 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name dav.mydomain.com;
|
||||
|
||||
root /var/www/dav.mydomain.com/html;
|
||||
index index.php;
|
||||
|
||||
rewrite ^/.well-known/caldav /cal.php redirect;
|
||||
rewrite ^/.well-known/carddav /card.php redirect;
|
||||
|
||||
charset utf-8;
|
||||
|
||||
location ~ /(\.ht|Core|Specific) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
||||
location ~ ^(.+\.php)(.*)$ {
|
||||
try_files $fastcgi_script_name =404;
|
||||
fastcgi_split_path_info ^(.+\.php)(.*)$;
|
||||
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
include /etc/nginx/fastcgi_params;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /var/www/nginx-default;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue