Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
server {
listen 80;
server_name proxy;
location ~* \/assets\/(css|images|js|template)\/* {
root /usr/share/nginx/;
expires max;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
add_header Vary Accept-Encoding;
access_log off;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment