Git Product home page Git Product logo

Comments (8)

abraham1901 avatar abraham1901 commented on August 26, 2024

👍

from puppet-nginx.

hackzilla avatar hackzilla commented on August 26, 2024

👍

from puppet-nginx.

schkovich avatar schkovich commented on August 26, 2024

solution #576

from puppet-nginx.

khaefeli avatar khaefeli commented on August 26, 2024

👍

but I think #576 is a workaround. the module should do it correctly by default, to avoid the wrong behavior, if the DevOP is careless / inexperienced

from puppet-nginx.

schkovich avatar schkovich commented on August 26, 2024

I agree. However see @jfryman comment. I do understand his noble democratic desire to allow people doing stupidity but I still think that by default root should be in server block. Case that user from whatever reasons still wants to place root in location block give her/him option to do it.

from puppet-nginx.

khaefeli avatar khaefeli commented on August 26, 2024

@schkovich I totally agree.

from puppet-nginx.

jfryman avatar jfryman commented on August 26, 2024

@schkovich I think in that comment I said...

I'd rather provide sane defaults and let a user make silly decisions on their own.

I do think this falls under a sane default. Throw up a PR, I'll review/merge. I was hoping the original author of that PR would rebase/resubmit, but it didn't happen.

from puppet-nginx.

wyardley avatar wyardley commented on August 26, 2024

I have included a way to suppress logs in #888
We do have some use cases that require setting different roots per location, but agree that the default behavior could be improved.
I'm going to close this one, just because it hasn't had any activity in ages, but, as they say, pull requests (with tests) will be reviewed and gratefully accepted if this is still an issue.

from puppet-nginx.

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.