В консоли bash или аналогичной выполнить запрос:
$ curl -I https://site.com/robots.txt
Получим ответ вида:
$ curl -I https://site.com/robots.txt % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 1057 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/1.1 200 OK Server: nginx Date: Sat, 31 May 2025 09:22:26 GMT Content-Type: text/plain;charset=UTF-8 Content-Length: 1057 Connection: keep-alive Vary: HTTPS Last-Modified: Fri, 23 May 2025 15:28:45 GMT ETag: "67b9d20651813063c46408932664cf43" Strict-Transport-Security: max-age=31536000; includeSubDomains; preload X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN
Нет комментариев