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

nginx 配置 #19

Closed
cgcgbcbc opened this issue Oct 8, 2014 · 7 comments
Closed

nginx 配置 #19

cgcgbcbc opened this issue Oct 8, 2014 · 7 comments
Assignees

Comments

@cgcgbcbc
Copy link
Member

cgcgbcbc commented Oct 8, 2014

需要enable js,css,svg的gzip

@zmy
Copy link
Member

zmy commented Oct 8, 2014

求个reference~

@cgcgbcbc
Copy link
Member Author

cgcgbcbc commented Oct 9, 2014

求个reference~

直接照着上次看的docker automated-nginx-reverse-proxy-for-docker里的模版配置

@zmy
Copy link
Member

zmy commented Oct 9, 2014

我是直接写在 /data/global_proxy/sites-enabled/labmu_website 里面?

@zmy
Copy link
Member

zmy commented Oct 9, 2014

以及我们是否需要配置下字体的MIME types?好像nginx默认配置没有

Reference:

@cgcgbcbc
Copy link
Member Author

cgcgbcbc commented Oct 9, 2014

怎么简单怎么来吧。主要pagespeed的建议表明开启gzip之后我提到的这几类文件能节省百分之七八十的流量

@zmy
Copy link
Member

zmy commented Oct 9, 2014

OK 我先开个实时gzip,静态的之后再搞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants