GithubHelp home page GithubHelp logo

nginx 配置 about www HOT 7 CLOSED

mulab avatar mulab commented on August 29, 2024
nginx 配置

from www.

Comments (7)

zmy avatar zmy commented on August 29, 2024

求个reference~

from www.

cgcgbcbc avatar cgcgbcbc commented on August 29, 2024

求个reference~

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

from www.

zmy avatar zmy commented on August 29, 2024

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

from www.

zmy avatar zmy commented on August 29, 2024

或者我们应该用这个?http://nginx.org/en/docs/http/ngx_http_gzip_static_module.html

似乎实现gzip好更爽一些(http://stackoverflow.com/questions/15793847/nginx-gzip-per-request-vs-static-gzip)?

Other References:

from www.

zmy avatar zmy commented on August 29, 2024

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

Reference:

from www.

cgcgbcbc avatar cgcgbcbc commented on August 29, 2024

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

from www.

zmy avatar zmy commented on August 29, 2024

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

from www.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.