root@ubuntu-test:/etc/nginx/conf.d# curl
127.0.0.1/rukovoditel -Iv
* Trying
127.0.0.1...
* TCP_NODELAY set
* Connected to
127.0.0.1 (
127.0.0.1) port 80 (#0)
> HEAD /rukovoditel HTTP/1.1
> Host:
127.0.0.1> User-Agent: curl/7.58.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
HTTP/1.1 301 Moved Permanently
< Server: nginx/1.16.0
Server: nginx/1.16.0
< Date: Thu, 13 Feb 2020 10:07:21 GMT
Date: Thu, 13 Feb 2020 10:07:21 GMT
< Content-Type: text/html
Content-Type: text/html
< Content-Length: 169
Content-Length: 169
< Location:
http://127.0.0.1/rukovoditel/Location:
http://127.0.0.1/rukovoditel/< Connection: keep-alive
Connection: keep-alive
<
* Connection #0 to host
127.0.0.1 left intact