Coder Social home page Coder Social logo

Comments (7)

llinder avatar llinder commented on July 24, 2024 3

Just ran into this too. I moved 'error_log /usr/local/var/log/nginx/error.log;' to the http{} section and everything works fine.

from brew-emp.

danielmt avatar danielmt commented on July 24, 2024

nginx seems to need access_log and error_log on http block now.

from brew-emp.

mrded avatar mrded commented on July 24, 2024

Fixed. It should be fine now. Can you try, please?

from brew-emp.

0xqd avatar 0xqd commented on July 24, 2024

@llinder
try to create that logs folder :)

from brew-emp.

kaboda avatar kaboda commented on July 24, 2024

I start nginx ,then i get this errow plz can you help me to fix this error

[emerg] open() "/usr/local/etc/nginx/fastcgi_params" failed (2: No such file or directory) in /etc/nginx/templates/laravel4:19

from brew-emp.

yanfeng1012 avatar yanfeng1012 commented on July 24, 2024

I start nginx ,then i get this errow plz can you help me to fix this error
nginx: [alert] could not open error log file: open() "/usr/local/var/log/nginx/error.log" failed (13: Permission denied)

from brew-emp.

mrded avatar mrded commented on July 24, 2024

@yanfeng1012 you need to give /usr/local/var/log/nginx/ folder permissions, so nginx can write into it.

from brew-emp.

Related Issues (8)

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.