Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ESXi template #72

Open
rmamba opened this issue Jan 19, 2021 · 0 comments
Open

Update ESXi template #72

rmamba opened this issue Jan 19, 2021 · 0 comments
Assignees
Labels
bug Something isn't working in progress Men on work...

Comments

@rmamba
Copy link
Owner

rmamba commented Jan 19, 2021

ESXi does not set any expiration and compression on the resources so we force it with nginx to improve performance

location ~* \.(js|css|png|jpg|jpeg|gif|svg|ico)$ {
 expires 30d;
 add_header Cache-Control "public, no-transform";
		proxy_pass https://esxi-3;
gzip on;
gzip_vary on;
gzip_min_length 10240;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml;
gzip_disable "MSIE [1-6]\.";

}
@rmamba rmamba added the bug Something isn't working label Jan 19, 2021
@rmamba rmamba self-assigned this Jan 19, 2021
@rmamba rmamba added the in progress Men on work... label Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in progress Men on work...
Projects
None yet
Development

No branches or pull requests

1 participant