From c892ede9a8410b81b57191bc63542742e1cc3a2f Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 22 Nov 2016 21:56:02 +0000 Subject: Nuke phabricator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- theos/init.sls | 1 - theos/nginx/phabricator_kyriasis_com.sls | 52 -------------------------------- 2 files changed, 53 deletions(-) delete mode 100644 theos/nginx/phabricator_kyriasis_com.sls diff --git a/theos/init.sls b/theos/init.sls index 387b366..a25d4b1 100644 --- a/theos/init.sls +++ b/theos/init.sls @@ -2,6 +2,5 @@ include: - theos.nginx.theos_kyriasis_com - theos.nginx.xan_kyriasis_com - theos.nginx.git_kyriasis_com - - theos.nginx.phabricator_kyriasis_com # vim: set ft=yaml et: diff --git a/theos/nginx/phabricator_kyriasis_com.sls b/theos/nginx/phabricator_kyriasis_com.sls deleted file mode 100644 index 0907731..0000000 --- a/theos/nginx/phabricator_kyriasis_com.sls +++ /dev/null @@ -1,52 +0,0 @@ -nginx: - ng: - servers: - managed: - phabricator.kyriasis.com: - enabled: True - config: - - server: - - server_name: phabricator.kyriasis.com - - listen: 80 - - listen: '[::]:80' - - rewrite: '^ https://$server_name$request_uri? permanent' - - - server: - - server_name: phabricator.kyriasis.com - - listen: 443 ssl http2 - - listen: '[::]:443 ssl http2' - - - ssl: 'on' - - ssl_certificate: /etc/letsencrypt/live/phabricator.kyriasis.com/fullchain.pem - - ssl_certificate_key: /etc/letsencrypt/live/phabricator.kyriasis.com/privkey.pem - - ssl_dhparam: /etc/nginx/dhparam.pem - - - ssl_stapling: 'on' - - ssl_stapling_verify: 'on' - - ssl_trusted_certificate: /etc/letsencrypt/live/phabricator.kyriasis.com/fullchain.pem - - # Enable the Cross-site scripting filter in most recent browsers. - # Normally enabled by default, but enable it anyway if user has disabled it. - - add_header: 'X-XSS-Protection "1; mode=block"' - - # http://www.gnuterrypratchett.com/ - - add_header: 'X-Clacks-Overhead "GNU Terry Pratchett"' - - - root: /srv/phabricator/phabricator/webroot - - - location /: - - index: index.php - - rewrite: '^/(.*)$ /index.php?__path__=/$1 last' - - - location /index.php: - - include: fastcgi.conf - - fastcgi_pass: unix:/var/run/php56-fpm/php-fpm.sock - - fastcgi_index: index.php - - fastcgi_param: SCRIPT_FILENAME $document_root$fastcgi_script_name - - fastcgi_param: SCRIPT_NAME $fastcgi_script_name - - fastcgi_param: REMOTE_ADDR $remote_addr - - - location /.well-known: - - root: /srv/http/ - -# vim: ft=yaml et: -- cgit v1.2.3-54-g00ecf