Skip to content

关于Nginx访问日志时区设置问题 #410

Closed Answered by 0xJacky
kekylin asked this question in Q&A
Discussion options

You must be logged in to vote

进入容器手动执行一下,然后重启容器就可以了,下次发新镜像的时候会一并修复。

ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && \
    echo "${TZ}" > /etc/timezone

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@kekylin
Comment options

@0xJacky
Comment options

Answer selected by 0xJacky
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants