# spiderlint findings # Summary - Rating: B (recommended) - Pages: 16 - Findings: 497 (15 error, 262 warning, 210 info, 10 hint) - Checks passed: 1041 of 1301; 114 rules failed nowhere. ## html/lang/missing (error 8.2) no Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `html.lang`, expects `{"type":"string"}` Fix: Set to the page’s language, as . Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/lang/missing Reference: https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang Done when: `spiderlint audit https://nginx.org/ --rules html/lang/missing` reports no html/lang/missing finding. ## http/server/disclosing (warning 5.4) the host names its software in server Where: nginx.org, used by or shared with: - https://nginx.org/: nginx/1.31.8 - https://nginx.org/books/complete_nginx_cookbook_2019.jpg: nginx/1.31.8 - https://nginx.org/books/deploying_nginx_as_api_gateway.jpg: nginx/1.31.8 - https://nginx.org/books/instant_nginx_starter.jpg: nginx/1.31.8 - https://nginx.org/books/mastering_nginx.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_1_web_server.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_cookbook.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_essentials.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_high_performance.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_http_server_2nd_ed.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_http_server_3rd_ed.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_http_server_4th_ed.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_http_server_jp.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_http_server.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_in_practice.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_module_extension.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_pocket_reference_jp.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_richtig_konfigurieren.jpg: nginx/1.31.8 - https://nginx.org/books/nginx_troubleshooting.jpg: nginx/1.31.8 - https://nginx.org/books/practical_nginx_guide_jp.jpg: nginx/1.31.8 - https://nginx.org/css/style_en.css: nginx/1.31.8 - https://nginx.org/css/style_ru.css: nginx/1.31.8 - https://nginx.org/en/: nginx/1.31.8 - https://nginx.org/en/books.html: nginx/1.31.8 - https://nginx.org/en/community.html: nginx/1.31.8 - https://nginx.org/en/docs/: nginx/1.31.8 - https://nginx.org/en/docs/faq.html: nginx/1.31.8 - https://nginx.org/en/download.html: nginx/1.31.8 - https://nginx.org/en/security_advisories.html: nginx/1.31.8 - https://nginx.org/img/gateway_fabric_icon.png: nginx/1.31.8 - https://nginx.org/img/ingress_icon.png: nginx/1.31.8 - https://nginx.org/img/nginx_logo_dark.svg: nginx/1.31.8 - https://nginx.org/img/nginx_logo.svg: nginx/1.31.8 - https://nginx.org/img/njs_icon.png: nginx/1.31.8 - https://nginx.org/LICENSE: nginx/1.31.8 - https://nginx.org/news.html: nginx/1.31.8 - https://nginx.org/ru/: nginx/1.31.8 - https://nginx.org/ru/community.html: nginx/1.31.8 - https://nginx.org/ru/docs/: nginx/1.31.8 - https://nginx.org/ru/docs/faq.html: nginx/1.31.8 - https://nginx.org/ru/download.html: nginx/1.31.8 - https://nginx.org/ru/enterprise.html: nginx/1.31.8 Reads: `http.headers`, `html.meta.generator`, `resources` Fix: Remove the version from the Server header and drop X-Powered-By and debug headers at the server or proxy. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/server/disclosing Reference: https://developer.mozilla.org/docs/Web/HTTP/Reference/Headers/Server Done when: `spiderlint audit https://nginx.org/ --rules http/server/disclosing` reports no http/server/disclosing finding. ## http/csp/missing (warning 6.4) no enforced Content-Security-Policy, in a header or a Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `http.csp.directives`, expects `{"type":"object"}` Fix: Send a Content-Security-Policy header that allows only the origins and directives the page needs. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/csp/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/CSP Done when: `spiderlint audit https://nginx.org/ --rules http/csp/missing` reports no http/csp/missing finding. ## caching/cache-control/excessive (warning 5.0) image/jpeg files are cached long at URLs that carry no hash or version, so caches serve a stale copy after the next publish Where: https://nginx.org/books/complete_nginx_cookbook_2019.jpg: max-age=31536000: 1, used by or shared with: - https://nginx.org/books/complete_nginx_cookbook_2019.jpg - https://nginx.org/books/deploying_nginx_as_api_gateway.jpg - https://nginx.org/books/nginx_http_server_4th_ed.jpg - https://nginx.org/books/nginx_cookbook.jpg - https://nginx.org/books/nginx_troubleshooting.jpg - https://nginx.org/books/nginx_richtig_konfigurieren.jpg - https://nginx.org/books/practical_nginx_guide_jp.jpg - https://nginx.org/books/mastering_nginx.jpg - https://nginx.org/books/nginx_http_server_3rd_ed.jpg - https://nginx.org/books/nginx_pocket_reference_jp.jpg - https://nginx.org/books/nginx_essentials.jpg - https://nginx.org/books/nginx_high_performance.jpg - https://nginx.org/books/nginx_module_extension.jpg - https://nginx.org/books/instant_nginx_starter.jpg - https://nginx.org/books/nginx_http_server_2nd_ed.jpg - https://nginx.org/books/nginx_http_server_jp.jpg - https://nginx.org/books/nginx_1_web_server.jpg - https://nginx.org/books/nginx_http_server.jpg - https://nginx.org/books/nginx_in_practice.jpg Reads: `http.headers.cache-control`, `resources` Fix: Put a content hash or version in the file name, as cv.3f9a1c.pdf, or send Cache-Control: no-cache. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/caching.html#caching/cache-control/excessive Reference: https://www.rfc-editor.org/rfc/rfc8246 Done when: `spiderlint audit https://nginx.org/ --rules caching/cache-control/excessive` reports no caching/cache-control/excessive finding. ## http/version/outdated (warning 5.8) the server should speak HTTP/2 or HTTP/3 Where: 16 pages of group default (100 %), for example: - https://nginx.org/: 3 characters: “1.1” - https://nginx.org/en/: 3 characters: “1.1” - https://nginx.org/en/books.html: 3 characters: “1.1” Reads: `http.version`, expects `{"type":"string","pattern":"^[23]"}` Fix: Enable HTTP/2 or HTTP/3 on the server. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/version/outdated Reference: https://developer.mozilla.org/docs/Glossary/HTTP_2 Done when: `spiderlint audit https://nginx.org/ --rules http/version/outdated` reports no http/version/outdated finding. ## http/content-type-options/missing (warning 5.7) no X-Content-Type-Options Where: 16 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `http.headers.x-content-type-options`, expects `{"type":["string","array"]}` Fix: Send X-Content-Type-Options: nosniff. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/content-type-options/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/X-Content-Type-Options Done when: `spiderlint audit https://nginx.org/ --rules http/content-type-options/missing` reports no http/content-type-options/missing finding. ## html/description/missing (warning 6.0) no meta description Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `html.meta.description`, expects `{"type":"string"}` Fix: Add with a summary to the head. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/description/missing Reference: https://developers.google.com/search/docs/appearance/snippet Done when: `spiderlint audit https://nginx.org/ --rules html/description/missing` reports no html/description/missing finding. ## html/img-dimensions/missing (warning 6.0) an without width and height shifts the layout as it loads Where: 15 pages of group default (100 %), for example: - https://nginx.org/: {"src":"/img/nginx_logo.svg","alt":"NGINX"} - https://nginx.org/en/: {"src":"/img/nginx_logo.svg","alt":"NGINX"} - https://nginx.org/en/books.html: {"src":"/img/nginx_logo.svg","alt":"NGINX"} Reads: `html.images`, expects `{"items":{"if":{"not":{"required":["noscript"]}},"then":{"required":["width","height"]}}}` Fix: Add width and height attributes to the . Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/img-dimensions/missing Reference: https://web.dev/articles/optimize-cls#images-without-dimensions Done when: `spiderlint audit https://nginx.org/ --rules html/img-dimensions/missing` reports no html/img-dimensions/missing finding. ## http/vary-accept-encoding/missing (warning 5.4) a compressed response should carry Vary: Accept-Encoding Where: 16 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `http.parsed.vary.value`, expects `{"type":"array","contains":{"enum":["accept-encoding","*"]}}` Fix: Add Vary: Accept-Encoding to the response. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/vary-accept-encoding/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Vary Done when: `spiderlint audit https://nginx.org/ --rules http/vary-accept-encoding/missing` reports no http/vary-accept-encoding/missing finding. ## html/title/length (warning 5.7) should be 30–60 characters Where: 15 pages of group default (100 %), for example: - https://nginx.org/: 5 characters: “nginx” - https://nginx.org/en/: 5 characters: “nginx” - https://nginx.org/en/books.html: 11 characters: “nginx books” Reads: `html.title`, expects `{"type":"string","minLength":30,"maxLength":60}` Fix: Shorten or lengthen <title> to 30–60 characters. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/title/length Reference: https://developers.google.com/search/docs/appearance/title-link Done when: `spiderlint audit https://nginx.org/ --rules html/title/length` reports no html/title/length finding. ## http/alt-svc-h3/missing (warning 5.2) Alt-Svc should advertise h3 Where: 16 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `http.parsed.alt-svc.value`, expects `{"type":"array","contains":{"properties":{"protocol":{"const":"h3"}},"required":["protocol"]}}` Fix: Add h3 to the Alt-Svc header. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/alt-svc-h3/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Alt-Svc Done when: `spiderlint audit https://nginx.org/ --rules http/alt-svc-h3/missing` reports no http/alt-svc-h3/missing finding. ## http/referrer-policy/missing (warning 5.1) no Referrer-Policy Where: 16 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `http.parsed.referrer-policy`, expects `{"type":"object"}` Fix: Send Referrer-Policy: strict-origin-when-cross-origin, or no-referrer. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/referrer-policy/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Referrer-Policy Done when: `spiderlint audit https://nginx.org/ --rules http/referrer-policy/missing` reports no http/referrer-policy/missing finding. ## html/canonical/missing (warning 5.4) no canonical link Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `html.canonical`, expects `{"type":"string"}` Fix: Add <link rel=canonical> with the page’s absolute URL to the head. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/canonical/missing Reference: https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls Done when: `spiderlint audit https://nginx.org/ --rules html/canonical/missing` reports no html/canonical/missing finding. ## images/dimensions/missing (warning 5.4) an <img> without width and height shifts the layout as it loads Where: 15 pages of group default (100 %), for example: - https://nginx.org/: 5 - at /img/nginx_logo.svg - at /img/nginx_logo_dark.svg - at img/njs_icon.png - at img/ingress_icon.png - at img/gateway_fabric_icon.png - https://nginx.org/en/: 2 - at /img/nginx_logo.svg - at /img/nginx_logo_dark.svg - https://nginx.org/en/books.html: 21 - at /img/nginx_logo.svg - at /img/nginx_logo_dark.svg - at ../books/complete_nginx_cookbook_2019.jpg - at ../books/deploying_nginx_as_api_gateway.jpg - at ../books/nginx_http_server_4th_ed.jpg - at ../books/nginx_cookbook.jpg - at ../books/nginx_troubleshooting.jpg - at ../books/nginx_richtig_konfigurieren.jpg - at ../books/practical_nginx_guide_jp.jpg - at ../books/mastering_nginx.jpg - at ../books/nginx_http_server_3rd_ed.jpg - at ../books/nginx_pocket_reference_jp.jpg - at ../books/nginx_essentials.jpg - at ../books/nginx_high_performance.jpg - at ../books/nginx_module_extension.jpg - at ../books/instant_nginx_starter.jpg - at ../books/nginx_http_server_2nd_ed.jpg - at ../books/nginx_http_server_jp.jpg - at ../books/nginx_1_web_server.jpg - at ../books/nginx_http_server.jpg - at ../books/nginx_in_practice.jpg Reads: `html.images` Fix: Add width and height attributes to each <img>. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/images.html#images/dimensions/missing Reference: https://web.dev/articles/optimize-cls#images-without-dimensions Done when: `spiderlint audit https://nginx.org/ --rules images/dimensions/missing` reports no images/dimensions/missing finding. ## html/og-image/missing (warning 4.6) no og:image Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `html.property.og:image`, expects `{"type":"string"}` Fix: Add <meta property=og:image> with the absolute URL of a preview image. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/og-image/missing Reference: https://ogp.me/#metadata Done when: `spiderlint audit https://nginx.org/ --rules html/og-image/missing` reports no html/og-image/missing finding. ## html/og-title/missing (warning 4.0) no og:title Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `html.property.og:title`, expects `{"type":"string"}` Fix: Add <meta property=og:title> with the page title. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/og-title/missing Reference: https://ogp.me/#metadata Done when: `spiderlint audit https://nginx.org/ --rules html/og-title/missing` reports no html/og-title/missing finding. ## html/og-description/missing (warning 3.9) no og:description Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `html.property.og:description`, expects `{"type":"string"}` Fix: Add <meta property=og:description> with a summary of the page. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/og-description/missing Reference: https://ogp.me/#optional Done when: `spiderlint audit https://nginx.org/ --rules html/og-description/missing` reports no html/og-description/missing finding. ## html/theme-color/missing (warning 3.3) no meta theme-color Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `html.meta.theme-color`, expects `{"type":"string","minLength":1}` Fix: Add <meta name=theme-color> with a color value. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/theme-color/missing Reference: https://developer.mozilla.org/docs/Web/HTML/Element/meta/name/theme-color Done when: `spiderlint audit https://nginx.org/ --rules html/theme-color/missing` reports no html/theme-color/missing finding. ## html/title/duplicate (warning 5.9) pages share one <title> Where: 2 findings: - https://nginx.org/: 5 characters: “nginx” used by or shared with: - https://nginx.org/ - https://nginx.org/ru/ - https://nginx.org/en/ - https://nginx.org/en/docs/faq.html: 3 characters: “FAQ” used by or shared with: - https://nginx.org/en/docs/faq.html - https://nginx.org/ru/docs/faq.html Reads: `html.title` Fix: Give each page a distinct <title>. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/title/duplicate Reference: https://developers.google.com/search/docs/appearance/title-link Done when: `spiderlint audit https://nginx.org/ --rules html/title/duplicate` reports no html/title/duplicate finding. ## links/external/unreachable (warning 6.0) the link could not be reached: The operation was aborted due to timeout Where: 3 findings: - http://cccis.jp - http://harukasan.jp - http://www.usamadar.com used by or shared with: - https://nginx.org/en/books.html: http://cccis.jp/ Reads: `site.links`, `html.links.external` Fix: Remove or repoint each broken external link. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/links.html#links/external/unreachable Reference: https://developer.mozilla.org/docs/Web/HTTP/Reference/Status/404 Done when: `spiderlint audit http://cccis.jp/ --rules links/external/unreachable` reports no links/external/unreachable finding. ## links/external/unreachable (warning 6.0) the link could not be reached: getaddrinfo ENOTFOUND webserver.tips Where: https://webserver.tips, used by or shared with: - https://nginx.org/en/books.html: https://webserver.tips/ Reads: `site.links`, `html.links.external` Fix: Remove or repoint each broken external link. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/links.html#links/external/unreachable Reference: https://developer.mozilla.org/docs/Web/HTTP/Reference/Status/404 Done when: `spiderlint audit https://webserver.tips/ --rules links/external/unreachable` reports no links/external/unreachable finding. ## links/external/unreachable (warning 6.0) the link answers 503 Where: https://www.amazon.de/Nginx-richtig-konfigurieren-Websites-WordPress-ebook/dp/B01GI4C982/, used by or shared with: - https://nginx.org/en/books.html Reads: `site.links`, `html.links.external` Fix: Remove or repoint each broken external link. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/links.html#links/external/unreachable Reference: https://developer.mozilla.org/docs/Web/HTTP/Reference/Status/404 Done when: `spiderlint audit https://www.amazon.de/ --rules links/external/unreachable` reports no links/external/unreachable finding. ## links/external/unreachable (warning 4.6) the link answers 404 Where: https://www.oreilly.com/people/02bb3-derek-dejonghe, used by or shared with: - https://nginx.org/en/books.html Reads: `site.links`, `html.links.external` Fix: Remove or repoint each broken external link. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/links.html#links/external/unreachable Reference: https://developer.mozilla.org/docs/Web/HTTP/Reference/Status/404 Done when: `spiderlint audit https://www.oreilly.com/ --rules links/external/unreachable` reports no links/external/unreachable finding. ## images/format/outdated (warning 5.2) a jpeg image is smaller as avif Where: 11 findings: - https://nginx.org/books/complete_nginx_cookbook_2019.jpg: 16.5 kB: 4.1 kB - https://nginx.org/books/instant_nginx_starter.jpg: 14 kB: 3.4 kB - https://nginx.org/books/mastering_nginx.jpg: 14.1 kB: 3.2 kB - https://nginx.org/books/nginx_cookbook.jpg: 14.1 kB: 3.4 kB - https://nginx.org/books/nginx_essentials.jpg: 13.8 kB: 3.4 kB - https://nginx.org/books/nginx_high_performance.jpg: 13.7 kB: 2.7 kB - https://nginx.org/books/nginx_http_server_jp.jpg: 16.4 kB: 3.7 kB - https://nginx.org/books/nginx_pocket_reference_jp.jpg: 16.1 kB: 3.9 kB - https://nginx.org/books/nginx_richtig_konfigurieren.jpg: 19.9 kB: 5.3 kB - https://nginx.org/books/nginx_troubleshooting.jpg: 15.2 kB: 3.3 kB - https://nginx.org/books/practical_nginx_guide_jp.jpg: 14.2 kB: 3.6 kB used by or shared with: - https://nginx.org/en/books.html Reads: `resources.images` Fix: Convert the image to WebP or AVIF. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/images.html#images/format/outdated Reference: https://web.dev/articles/choose-the-right-image-format Done when: `spiderlint audit https://nginx.org/ --rules images/format/outdated` reports no images/format/outdated finding. ## url/uppercase/present (warning 5.1) the path has uppercase letters, which a server may treat as another URL Where: https://nginx.org/LICENSE: 8 characters: “/LICENSE” Reads: `url.pathname`, expects `{"type":"string","not":{"pattern":"(?<!%)(?<!%[0-9A-Fa-f])[A-Z]"}}` Fix: Use lowercase paths, and redirect each mixed-case path to its lowercase form. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/url.html#url/uppercase/present Reference: https://developers.google.com/search/docs/crawling-indexing/url-structure Done when: `spiderlint audit https://nginx.org/ --rules url/uppercase/present` reports no url/uppercase/present finding, and `spiderlint show-facts https://nginx.org/LICENSE` shows `url.pathname` meeting it. ## images/compression/weak (warning 4.8) a jpeg image re-encodes smaller Where: https://nginx.org/books/nginx_richtig_konfigurieren.jpg: 19.9 kB: 9.3 kB, used by or shared with: - https://nginx.org/en/books.html Reads: `resources.images` Fix: Re-encode the image with a modern tool at a lower quality or smaller dimensions. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/images.html#images/compression/weak Reference: https://web.dev/articles/use-imagemin-to-compress-images Done when: `spiderlint audit https://nginx.org/ --rules images/compression/weak` reports no images/compression/weak finding. ## images/compression/weak (warning 4.8) a png image re-encodes smaller Where: https://nginx.org/img/ingress_icon.png: 17.7 kB: 6.4 kB, used by or shared with: - https://nginx.org/ Reads: `resources.images` Fix: Re-encode the image with a modern tool at a lower quality or smaller dimensions. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/images.html#images/compression/weak Reference: https://web.dev/articles/use-imagemin-to-compress-images Done when: `spiderlint audit https://nginx.org/ --rules images/compression/weak` reports no images/compression/weak finding. ## url/trailing-slash/inconsistent (warning 4.3) trailing slashes differ in group default: 4 of 5 pages end with /; the others differ Where: https://nginx.org/LICENSE: end without /, used by or shared with: - https://nginx.org/LICENSE Reads: `url.pathname` Fix: Pick one form, with or without the trailing slash, and redirect the other to it. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/url.html#url/trailing-slash/inconsistent Reference: https://developers.google.com/search/blog/2010/04/to-slash-or-not-to-slash Done when: `spiderlint audit https://nginx.org/ --rules url/trailing-slash/inconsistent` reports no url/trailing-slash/inconsistent finding. ## dns/caa/missing (warning 4.0) no CAA issue or issuewild record on the host or any parent, so any CA may issue for it Where: nginx.org Reads: `site.hosts.*.dns.caa`, expects `{"type":"object","properties":{"records":{"contains":{"properties":{"tag":{"enum":["issue","issuewild"]}}}}}}` Fix: Add a CAA record for each certificate authority you use; it covers every name under `nginx.org`. - Name: `nginx.org` - Flags: `0` - Tag: `issue` - CA domain: `letsencrypt.org` - Zone file: `nginx.org. CAA 0 issue "letsencrypt.org"` Put your own authority’s domain in place of `letsencrypt.org`. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/dns.html#dns/caa/missing Reference: https://www.rfc-editor.org/rfc/rfc8659 Done when: `spiderlint audit https://nginx.org/ --rules dns/caa/missing` reports no dns/caa/missing finding. ## dns/dnssec/missing (warning 5.6) the zone is not signed with DNSSEC Where: nginx.org Reads: `site.hosts.*.dnssec.signed`, expects `{"const":true}` Fix: Enable DNSSEC signing on the zone and publish a DS record at the parent. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/dns.html#dns/dnssec/missing Reference: https://www.rfc-editor.org/rfc/rfc9364 Done when: `spiderlint audit https://nginx.org/ --rules dns/dnssec/missing` reports no dns/dnssec/missing finding. ## dns/https-record/missing (warning 3.8) no HTTPS record, so a first visit learns h3 and ECH only from Alt-Svc, one connection late Where: nginx.org Reads: `site.hosts.*.dns.https`, expects `{"minItems":1}` Fix: Add an HTTPS record, so browsers learn on their first visit which protocols the site speaks. - Name: `nginx.org` - Priority: `1` - Target: `.` - Value: `alpn="h3,h2"` - Zone file: `nginx.org. 3600 IN HTTPS 1 . alpn="h3,h2"` A Target of `.` means the name itself. Leave `h3` out of the value if the site does not serve HTTP/3. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/dns.html#dns/https-record/missing Reference: https://www.rfc-editor.org/rfc/rfc9460 Done when: `spiderlint audit https://nginx.org/ --rules dns/https-record/missing` reports no dns/https-record/missing finding. ## domain/registration/expiring (warning 3.9) the domain registration expires in 27 days, and the site and its mail stop resolving when it lapses Where: nginx.org Reads: `site.hosts.*.rdap.days-left`, expects `{"type":"integer","minimum":30}` Fix: Renew `nginx.org` at its registrar and turn on automatic renewal. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/domain.html#domain/registration/expiring Reference: https://www.rfc-editor.org/rfc/rfc9083#section-4.5 Done when: `spiderlint audit https://nginx.org/ --rules domain/registration/expiring` reports no domain/registration/expiring finding. ## icons/apple-touch/missing (warning 3.8) the Apple touch icon is missing or unfit: “15 pages link no apple-touch-icon and https://nginx.org/apple-touch-icon.png answers 404” Where: https://nginx.org Reads: `site.origins.*.icons.apple-touch`, expects `{"maxItems":0}` Fix: Serve an opaque 180×180 PNG at /apple-touch-icon.png, or link one with <link rel=apple-touch-icon>. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/icons.html#icons/apple-touch/missing Reference: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html Done when: `spiderlint audit https://nginx.org/ --rules icons/apple-touch/missing` reports no icons/apple-touch/missing finding. ## origin/canonical-host/mismatch (warning 5.6) entry variants do not land on https://nginx.org, the audited origin, since no canonical origin is configured Where: https://nginx.org: https://nginx.org - at http://nginx.org/ → http://nginx.org/ - at http://www.nginx.org/ → http://nginx.org/ - at http://nginx.org/?spiderlint=641414a9-2c52-4556-8733-3431ada95a61 → http://nginx.org/?spiderlint=641414a9-2c52-4556-8733-3431ada95a61 - at http://www.nginx.org/?spiderlint=641414a9-2c52-4556-8733-3431ada95a61 → http://nginx.org/?spiderlint=641414a9-2c52-4556-8733-3431ada95a61 Reads: `site.origins.*.variants.probes` Fix: Redirect every http, https, www and apex variant to the one canonical origin with a 301 or 308. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/origin.html#origin/canonical-host/mismatch Reference: https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls Done when: `spiderlint audit https://nginx.org/ --rules origin/canonical-host/mismatch` reports no origin/canonical-host/mismatch finding. ## origin/error-page/disclosing (warning 5.0) the not-found page is not plain HTML free of stack traces and server versions (got 12 characters: “nginx/1.31.8”) Where: https://nginx.org Reads: `site.origins.*.not-found`, expects `{"properties":{"content-type":{"const":"text/html"},"bytes":{"minimum":1},"trace":{"const":false},"server":{"not":{"pattern":"\\d+\\.\\d+"}}}}` Fix: Serve a plain HTML 404 page with no server version or stack trace. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/origin.html#origin/error-page/disclosing Reference: https://owasp.org/www-community/Improper_Error_Handling Done when: `spiderlint audit https://nginx.org/ --rules origin/error-page/disclosing` reports no origin/error-page/disclosing finding. ## http/frame-options/missing (info 3.0) neither content-security-policy frame-ancestors nor x-frame-options refuses framing Where: 15 pages of group default (100 %), for example: - https://nginx.org/ - https://nginx.org/en/ - https://nginx.org/en/books.html Reads: `http.csp.directives`, `http.headers.x-frame-options` Fix: Send a Content-Security-Policy frame-ancestors directive, or X-Frame-Options: DENY. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/frame-options/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors Done when: `spiderlint audit https://nginx.org/ --rules http/frame-options/missing` reports no http/frame-options/missing finding. ## http/host/inconsistent (info 2.8) server address varies across nginx.org Where: https://nginx.org/: 3.125.197.172, used by or shared with: - https://nginx.org/ - https://nginx.org/ru/ - https://nginx.org/en/download.html - https://nginx.org/news.html - https://nginx.org/en/ - https://nginx.org/LICENSE - https://nginx.org/en/docs/faq.html - https://nginx.org/en/docs/ - https://nginx.org/ru/download.html - https://nginx.org/ru/docs/faq.html - https://nginx.org/ru/docs/ - https://nginx.org/en/books.html - https://nginx.org/en/community.html - https://nginx.org/en/security_advisories.html: 52.58.199.22 - https://nginx.org/ru/community.html: 52.58.199.22 - https://nginx.org/ru/enterprise.html: 52.58.199.22 Reads: `tls.cert.fingerprint256`, `tls.protocol`, `http.remote.address`, `http.headers.server` Fix: Make every page of the host serve the same certificate, TLS protocol and Server header. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/host/inconsistent Done when: `spiderlint audit https://nginx.org/ --rules http/host/inconsistent` reports no http/host/inconsistent finding. ## http/cache-control/missing (info 2.7) no Cache-Control directive on an HTML page Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `http.parsed.cache-control.value`, expects `{"type":"object","minProperties":1}` Fix: Add a Cache-Control header, e.g. no-cache to revalidate, or public with a max-age. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/cache-control/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Cache-Control Done when: `spiderlint audit https://nginx.org/ --rules http/cache-control/missing` reports no http/cache-control/missing finding. ## http/hsts-subdomains/missing (info 2.5) Strict-Transport-Security should carry includeSubDomains Where: 16 pages of group default (100 %), for example: - https://nginx.org/: {"max-age":31536000} - https://nginx.org/en/: {"max-age":31536000} - https://nginx.org/en/books.html: {"max-age":31536000} Reads: `http.parsed.strict-transport-security.value`, expects `{"required":["includesubdomains"]}` Fix: Add includeSubDomains to the Strict-Transport-Security header. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/hsts-subdomains/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Strict-Transport-Security#includesubdomains Done when: `spiderlint audit https://nginx.org/ --rules http/hsts-subdomains/missing` reports no http/hsts-subdomains/missing finding. ## html/og-url/missing (info 2.5) no og:url Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `html.property.og:url`, expects `{"type":"string"}` Fix: Add <meta property=og:url> with this page’s absolute URL. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/og-url/missing Reference: https://ogp.me/#metadata Done when: `spiderlint audit https://nginx.org/ --rules html/og-url/missing` reports no html/og-url/missing finding. ## http/corp/missing (info 2.1) no Cross-Origin-Resource-Policy Where: 16 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `http.headers.cross-origin-resource-policy`, expects `{"type":["string","array"]}` Fix: Send Cross-Origin-Resource-Policy: same-origin, or same-site if the resource is shared. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/corp/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy Done when: `spiderlint audit https://nginx.org/ --rules http/corp/missing` reports no http/corp/missing finding. ## html/favicon/missing (info 2.2) no <link rel=icon> in the head Where: 15 pages of group default (100 %), for example: - https://nginx.org/: 1 items - https://nginx.org/en/: 1 items - https://nginx.org/en/books.html: 1 items Reads: `html.head.links`, expects `{"contains":{"required":["rel"],"properties":{"rel":{"pattern":"(?i:(^|\\s)icon(\\s|$))"}}}}` Fix: Add <link rel=icon href=/favicon.ico> to the head. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/favicon/missing Reference: https://developer.mozilla.org/docs/Web/HTML/Attributes/rel#icon Done when: `spiderlint audit https://nginx.org/ --rules html/favicon/missing` reports no html/favicon/missing finding. ## http/coop/missing (info 2.2) no Cross-Origin-Opener-Policy Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `http.parsed.cross-origin-opener-policy`, expects `{"type":"object"}` Fix: Send Cross-Origin-Opener-Policy: same-origin. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/coop/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy Done when: `spiderlint audit https://nginx.org/ --rules http/coop/missing` reports no http/coop/missing finding. ## sitemap/page/unlisted (info 2.0) missing from the sitemap Where: 15 pages of group default (100 %), for example: - https://nginx.org/: false - https://nginx.org/en/: false - https://nginx.org/en/books.html: false Reads: `sitemap.listed`, expects `{"const":true}` Fix: Add this URL to the sitemap. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/sitemap.html#sitemap/page/unlisted Reference: https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview Done when: `spiderlint audit https://nginx.org/ --rules sitemap/page/unlisted` reports no sitemap/page/unlisted finding. ## http/permissions-policy/missing (info 1.8) no Permissions-Policy header naming a feature Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `http.parsed.permissions-policy.value`, expects `{"type":"object","minProperties":1}` Fix: Send a Permissions-Policy header listing the features the page uses. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/permissions-policy/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Permissions-Policy Done when: `spiderlint audit https://nginx.org/ --rules http/permissions-policy/missing` reports no http/permissions-policy/missing finding. ## http/reporting-endpoints/missing (info 1.5) no Reporting-Endpoints header naming an endpoint Where: 16 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `http.parsed.reporting-endpoints.value`, expects `{"type":"object","minProperties":1}` Fix: Send a Reporting-Endpoints header naming your reporting endpoints. Report Relay https://dbuho.me/project/report-relay/ collects these reports and sends them to your Grafana: open source, self-hosted, free. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/reporting-endpoints/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Reporting-Endpoints Done when: `spiderlint audit https://nginx.org/ --rules http/reporting-endpoints/missing` reports no http/reporting-endpoints/missing finding. ## html/privacy-policy/missing (info 1.6) no link with rel=privacy-policy Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `html.rels.privacy-policy`, expects `{"type":"array","minItems":1}` Fix: Add <link rel=privacy-policy href=/privacy> to the head. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/privacy-policy/missing Reference: https://html.spec.whatwg.org/multipage/links.html#link-type-privacy-policy Done when: `spiderlint audit https://nginx.org/ --rules html/privacy-policy/missing` reports no html/privacy-policy/missing finding. ## html/color-scheme/missing (info 1.4) no meta color-scheme Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `html.meta.color-scheme`, expects `{"type":"string"}` Fix: Add <meta name=color-scheme content="light dark">. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/color-scheme/missing Reference: https://developer.mozilla.org/docs/Web/HTML/Element/meta/name/color-scheme Done when: `spiderlint audit https://nginx.org/ --rules html/color-scheme/missing` reports no html/color-scheme/missing finding. ## html/og-type/missing (info 1.1) no og:type Where: 15 pages of group default (100 %), for example: - https://nginx.org/: none - https://nginx.org/en/: none - https://nginx.org/en/books.html: none Reads: `html.property.og:type`, expects `{"type":"string"}` Fix: Set og:type to website, or article on a post. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/og-type/missing Reference: https://ogp.me/#types Done when: `spiderlint audit https://nginx.org/ --rules html/og-type/missing` reports no html/og-type/missing finding. ## url/path/invalid (info 2.8) URL path should be lowercase, with hyphens and no empty segment Where: 2 pages: - https://nginx.org/en/security_advisories.html: 28 characters: “/en/security_advisories.html” - https://nginx.org/LICENSE: 8 characters: “/LICENSE” Reads: `url.pathname`, expects `{"type":"string","pattern":"^(?!.*//)(%[0-9A-Fa-f]{2}|[^A-Z_%])*$"}` Fix: Rewrite the path to be lowercase, with hyphens and no empty segments. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/url.html#url/path/invalid Reference: https://developers.google.com/search/docs/crawling-indexing/url-structure Done when: `spiderlint audit https://nginx.org/ --rules url/path/invalid` reports no url/path/invalid finding, and `spiderlint show-facts https://nginx.org/en/security_advisories.html` shows `url.pathname` meeting it. ## url/slug/unreadable (info 2.0) the slug shares no word with the page title; the crawl ended early (max-pages), so the page may sit closer and have more links in Where: 7 pages: - https://nginx.org/en/: “nginx” - https://nginx.org/en/docs/: “nginx documentation” - https://nginx.org/ru/: “nginx” - https://nginx.org/ru/community.html: “nginx: сообщество” - https://nginx.org/ru/docs/: “nginx: документация” - https://nginx.org/ru/download.html: “nginx: скачать” - https://nginx.org/ru/enterprise.html: “nginx: компания” Reads: `url.pathname`, `html.title`, `html.h1`, `html.rels`, `graph.prev` Fix: Name the page in its URL with words from its title, as /spring-recipes for “Spring recipes”. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/url.html#url/slug/unreadable Reference: https://developers.google.com/search/docs/crawling-indexing/url-structure Done when: `spiderlint audit https://nginx.org/ --rules url/slug/unreadable` reports no url/slug/unreadable finding. ## groups/heterogeneous (info 2.0) url/slug/unreadable fails on 7 of 14 pages; the group likely spans two templates Where: https://nginx.org/en/ Reads: `group` Fix: Split the group’s `match` so each template gets its own group, then check with `spiderlint list-groups`. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/groups.html#groups/heterogeneous Done when: `spiderlint audit https://nginx.org/ --rules groups/heterogeneous` reports no groups/heterogeneous finding. ## groups/heterogeneous (info 2.0) url/extension/present fails on 10 of 16 pages; the group likely spans two templates Where: https://nginx.org/en/books.html Reads: `group` Fix: Split the group’s `match` so each template gets its own group, then check with `spiderlint list-groups`. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/groups.html#groups/heterogeneous Done when: `spiderlint audit https://nginx.org/ --rules groups/heterogeneous` reports no groups/heterogeneous finding. ## origin/compression/missing (info 2.4) / is served only with “gzip”; offer br, zstd and gzip, each to the clients that ask for it Where: https://nginx.org: br, zstd Reads: `site.origins.*.encodings.served`, expects `{"allOf":[{"contains":{"const":"br"}},{"contains":{"const":"zstd"}},{"contains":{"const":"gzip"}}]}` Fix: Configure the server to compress text responses with br, zstd and gzip. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/origin.html#origin/compression/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Accept-Encoding Done when: `spiderlint audit https://nginx.org/ --rules origin/compression/missing` reports no origin/compression/missing finding. ## origin/revalidation/broken (info 1.8) a conditional request for the seed page answers 200, not 304 Not Modified Where: https://nginx.org Reads: `site.origins.*.revalidation.repeat`, expects `{"const":304}` Fix: Answer a request whose If-None-Match or If-Modified-Since still matches with 304 and no body. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/origin.html#origin/revalidation/broken Reference: https://developer.mozilla.org/docs/Web/HTTP/Guides/Conditional_requests Done when: `spiderlint audit https://nginx.org/ --rules origin/revalidation/broken` reports no origin/revalidation/broken finding. # Site statistics | Fact | Pages | Min | Median | p95 | Max | Total | | --- | --: | --: | --: | --: | --: | --: | | `co2.bytes` | 15 | 30765 | 32247 | 291036 | 291036 | 767942 | | `co2.grams` | 15 | 0.0046 | 0.0048 | 0.0431 | 0.0431 | 0.1137 | | `co2.resources` | 15 | 3 | 3 | 22 | 22 | 67 | | `http.size.body` | 16 | 0 | 2365 | 4810 | 4810 | 40962 | | `http.size.declared` | 16 | 734 | 2365 | 4810 | 4810 | 41696 | | `http.size.decoded` | 16 | 0 | 9815.5 | 27066 | 27066 | 160297 | | `resources.length` | 15 | 3 | 3 | 22 | 22 | 67 | | `http.timing.dns` | 16 | 1 | 2 | 72 | 72 | 238 | | `http.timing.download` | 16 | 0 | 1 | 3 | 3 | 16 | | `http.timing.request` | 16 | 0 | 0 | 1 | 1 | 3 | | `http.timing.tcp` | 16 | 2 | 3 | 3 | 3 | 42 | | `http.timing.tls` | 16 | 5 | 7 | 8 | 8 | 108 | | `http.timing.total` | 16 | 9 | 16.5 | 85 | 85 | 389 | | `http.timing.ttfb` | 16 | 2 | 14.5 | 33 | 33 | 256 | | `http.timing.wait` | 16 | 0 | 0 | 1 | 1 | 2 |