-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Cannot serve any host files #137
Comments
Explain exactly what did you do because you didn't supposed to "move" anything anywhere, just merge config sections you actually need. |
When you run |
@pentago |
@quantumpacket |
Well, it seems obvious that nginx isn't starting. Step 0 when debugging anything is to look at the log output e.g.:
Closing as this repo isn't intended to be a replacement for nginx docs or a general nginx support mechanism. Thanks! |
After installing nginx version 1.10.0, I moved my default nginx directory and replaced it with the one from the h5bp/server-configs-nginx git hub repository. After doing this I can not serve ANY host files at all because no matter how simple the host file, the ports are all closed. The host files should instruct nginx to listen to port 80 for example, but I get nothing. I have tried many fresh installs and I do not have any firewalls up at all. I’ve tried installing a firewall and directing it to open ports 80 and 443 explicitly but even that doesn’t work. No matter what, when I use the h5bp/server-configs-nginx git hub repository nginx, I can not serve any host files. However if I move that nginx directory and replace it with my original nginx directory I can serve host files and ports 80 and 443 are open once again. What am I doing wrong? Any help would be greatly appreciated!
I am on a 4 core vps with 2gigs of ram running ubuntu 14.04.
The text was updated successfully, but these errors were encountered: