From 8566b78202e16da6e378902ce67865026f9bfa60 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Tue, 7 Oct 2014 20:30:36 +0000 Subject: [PATCH] drop webfinger, see #95 --- conf/nginx.conf | 7 ------- setup/web.sh | 12 +----------- tools/webfinger.php | 46 --------------------------------------------- 3 files changed, 1 insertion(+), 64 deletions(-) delete mode 100755 tools/webfinger.php diff --git a/conf/nginx.conf b/conf/nginx.conf index 6079a0f..92b5de7 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -55,13 +55,6 @@ server { client_max_body_size 20M; } - # Webfinger configuration. - location = /.well-known/webfinger { - include fastcgi_params; - fastcgi_param SCRIPT_FILENAME /usr/local/bin/mailinabox-webfinger.php; - fastcgi_pass php-fpm; - } - # Z-Push (Microsoft Exchange ActiveSync) location /Microsoft-Server-ActiveSync { include /etc/nginx/fastcgi_params; diff --git a/setup/web.sh b/setup/web.sh index e72143e..d8d4644 100755 --- a/setup/web.sh +++ b/setup/web.sh @@ -57,22 +57,12 @@ if [ -L /etc/init.d/php-fastcgi ]; then apt-get -y purge php5-cgi #NODOC fi -# Put our webfinger script into a well-known location. -for f in webfinger; do - cp tools/$f.php /usr/local/bin/mailinabox-$f.php - chown www-data.www-data /usr/local/bin/mailinabox-$f.php -done - # Remove obsoleted scripts. #NODOC # exchange-autodiscover is now handled by Z-Push. #NODOC -for f in exchange-autodiscover; do #NODOC +for f in webfinger exchange-autodiscover; do #NODOC rm -f /usr/local/bin/mailinabox-$f.php #NODOC done #NODOC -# Make some space for users to customize their webfinger responses. -mkdir -p $STORAGE_ROOT/webfinger/acct; -chown -R $STORAGE_USER $STORAGE_ROOT/webfinger - # Start services. restart_service nginx restart_service php5-fpm diff --git a/tools/webfinger.php b/tools/webfinger.php deleted file mode 100755 index 91ea03e..0000000 --- a/tools/webfinger.php +++ /dev/null @@ -1,46 +0,0 @@ - $resource, - //), JSON_PRETTY_PRINT); -?> -