This commit is contained in:
root 2022-09-16 06:27:45 -04:00
parent bfa154f2b6
commit aa523031d9
1 changed files with 17 additions and 0 deletions

View File

@ -83,3 +83,20 @@ location /.git {
location /blog/.git {
return 301 http://fsn.icmp.hetzner.com/10GB.bin;
}
location /sitemap {
root /var/www/websitenew;
try_files $uri $uri.html $uri/ @extensionless-php;
index off;
ssi on;
fancyindex on;
fancyindex_exact_size off;
fancyindex_default_sort date_desc;
fancyindex_time_format "%a, %e %B %Y %I:%M:%S %p";
subs_filter "<style type=\"text/css\">" "";
subs_filter "</syle>" "";
subs_filter "body,html {background:#fff;font-family:\"Bitstream Vera Sans\",\"Lucida Grande\",\"Lucida Sans Unicode\",Lucidux,Verdana,Lucida,sans-serif;}tr:nth-child(even) {background:#f4f4f4;}th,td {padding:0.1em 0.5em;}th {text-align:left;font-weight:bold;background:#eee;border-bottom:1px solid #aaa;}#list {border:1px solid #aaa;width:100%;}a {color:#a33;}a:hover {color:#e33;}" "<!--#include file=\"/nav\"-->";
error_page 403 /errors/403;
error_page 404 /errors/404;
error_page 503 /errors/503;
}