Skip to content

No upstream #140

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

Closed
aeroclown opened this issue Sep 9, 2013 · 1 comment
Closed

No upstream #140

aeroclown opened this issue Sep 9, 2013 · 1 comment
Assignees

Comments

@aeroclown
Copy link

So here is a question for you guys. I have nginx setup on a server and it is the core webservice daemon for sites on it. I am not using it as a proxy to another nginx instance or as a proxy to apache. What would one use for upstream, I do pass off to php-fpm but that is specific to that type of page content. Based on what I am seeing it seems as though the current implementation expects nginx to operate as a proxy. I would like to use modsecurity but I don't have need of a second nginx instance or a reverse proxy setup.

@rcbarnett-zz
Copy link
Contributor

You don't have to use a proxy config in the Nginx conf file. You could do this -

server {
listen 80;
server_name localhost;

location / {
ModSecurityEnabled on;
ModSecurityConfig modsecurity.conf;
}

}

@zimmerle zimmerle closed this as completed Dec 8, 2015
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

3 participants