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

Custom nginx.conf #101

Open
Butochnikov opened this issue Mar 24, 2014 · 3 comments
Open

Custom nginx.conf #101

Butochnikov opened this issue Mar 24, 2014 · 3 comments

Comments

@Butochnikov
Copy link

how to set other nginx.conf file for Silex framework?

@stof
Copy link
Collaborator

stof commented Mar 24, 2014

you can specify some files to include in the nginx config: https://github.com/CHH/heroku-buildpack-php#nginx-includes

@Butochnikov
Copy link
Author

but, how to exclude these lines?

https://github.com/CHH/heroku-buildpack-php/blob/master/conf/nginx/silex.conf.erb

#return 404 for all php files as we do have a front controller
location ~ \.php$ {
    return 404;
}

@Butochnikov
Copy link
Author

have a solution?

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

No branches or pull requests

2 participants