Remove rewrite statements now due to some parsing issues

This commit is contained in:
staticsafe 2017-01-14 01:04:53 +00:00
parent 822924ea95
commit 6c077a8f0a
1 changed files with 0 additions and 6 deletions

View File

@ -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