Update yunohost_admin.conf

This commit is contained in:
frju365 2019-01-21 21:39:07 +01:00 committed by GitHub
parent 08869c329c
commit a42df2d8fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,9 +65,6 @@ server {
location /yunohost { location /yunohost {
# Block crawlers bot # Block crawlers bot
if ($http_user_agent ~ (crawl|Googlebot|Slurp|spider|bingbot|tracker|click|parser|spider|facebookexternalhit) ) {
return 403;
}
add_header X-Robots-Tag "nofollow, noindex, noarchive, nosnippet"; add_header X-Robots-Tag "nofollow, noindex, noarchive, nosnippet";
# Redirect most of 404 to maindomain.tld/yunohost/sso # Redirect most of 404 to maindomain.tld/yunohost/sso
access_by_lua_file /usr/share/ssowat/access.lua; access_by_lua_file /usr/share/ssowat/access.lua;