Remove rewrite statements now due to some parsing issues
This commit is contained in:
parent
822924ea95
commit
6c077a8f0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user