Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
nginxでキャッシュ時間を0にしたい場合
########
# ~~~
########
location /public {
alias /var/app/current/public;
gzip_static on;
gzip on;
expires 0;
add_header Cache-Control public;
}
########
# ~~~
########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.