diff --git a/conf/nginx.conf b/conf/nginx.conf index 6079a0fd..92b5de72 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 e72143ec..d8d4644a 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 91ea03e7..00000000 --- a/tools/webfinger.php +++ /dev/null @@ -1,46 +0,0 @@ - $resource, - //), JSON_PRETTY_PRINT); -?> -