Category: Nginx

  • NGINX autoindex_localtime

    NGINX에서 폴더의 내용을 보기 위해서는 autoindex on; 옵션을 이용한다. 그런데 보이는 시간이 UTC 기준이다. 보이는 시간을 변경하기 위해서는 autoindex_localtime on; 을 이용한다.

    server {
            location / {
                    autoindex on;
                    autoindex_localtime on;
            }
    }