From f90df2aae9e08bfce61ca3f7fbd26b3a3408822d Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Tue, 12 Apr 2016 09:36:12 +0200 Subject: [PATCH] Remove static vhost from web. --- roles/web/files/vhost | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/roles/web/files/vhost b/roles/web/files/vhost index 38f2478..b838adf 100644 --- a/roles/web/files/vhost +++ b/roles/web/files/vhost @@ -14,19 +14,6 @@ server { } } -server { - listen 80; - listen [::]:80; - listen 443 ssl http2; - listen [::]:443 ssl http2; - - server_name static.binary-kitchen.de; - - location / { - return 301 https://www.binary-kitchen.de/static/$request_uri; - } -} - server { listen 443 ssl http2; listen [::]:443 ssl http2;