From 6c077a8f0ab85beff8973e6399fae40b54d23b8a Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sat, 14 Jan 2017 01:04:53 +0000 Subject: [PATCH] Remove rewrite statements now due to some parsing issues --- ubuntu/site.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ubuntu/site.yml b/ubuntu/site.yml index 025fb98..0e03eea 100644 --- a/ubuntu/site.yml +++ b/ubuntu/site.yml @@ -49,7 +49,6 @@ - location / { try_files $uri $uri/ /index.php?$args; } - - rewrite /wp-admin$ $scheme://$host$uri/ permanent; - location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { expires 24h; } @@ -143,7 +142,6 @@ - location / { try_files $uri $uri/ /index.php?$args; } - - rewrite /wp-admin$ $scheme://$host$uri/ permanent; - location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { expires 24h; } @@ -155,10 +153,6 @@ fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_pass php; } - - rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml$ "/index.php?xml_sitemap=params=$2" last - - rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml\.gz$ "/index.php?xml_sitemap=params=$2;zip=true" last - - rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html$ "/index.php?xml_sitemap=params=$2;html=true" last - - rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html.gz$ "/index.php?xml_sitemap=params=$2;html=true;zip=true" last wiki.staticsafe.ca: - listen {{ ansible_default_ipv4.address }}:80 - listen {{ ansible_default_ipv4.address }}:443 ssl