Download:
child 30:0e84a4a22acd
parent 28:b9b512011418
29:0dca68b49bc5
Anton Shestakov <av6@dwimlabs.net>, Tue, 02 Jan 2018 19:27:00 +0800
nginx: redirect to proper favicon, useful for raw- and similar pages

1 файлов изменено, 4 вставок(+), 0 удалений(-) [+]
roles/hgweb/templates/etc/nginx/sites-available/hgweb file | annotate | diff | comparison | revisions
--- a/roles/hgweb/templates/etc/nginx/sites-available/hgweb Tue Jan 02 19:26:08 2018 +0800
+++ b/roles/hgweb/templates/etc/nginx/sites-available/hgweb Tue Jan 02 19:27:00 2018 +0800
@@ -31,4 +31,8 @@
gzip_vary on;
expires 30d;
}
+
+ location = /favicon.ico {
+ return 301 /static/hgicon.png;
+ }
}