-
-
Notifications
You must be signed in to change notification settings - Fork 880
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
Delete default site #996
Comments
Short answer, you have to set |
Sorry to bring up an old issue, I just felt it was better than opening a new one. I added use_default_location => false, to my server resource but it just removed the location section of that vhost. As this issue is stating, I want to get rid of the default vhost created initially located in /etc/nginx/sites-enabled/default. Is there another place I need to put "use_default_location" outside of the server resource? I also feel it's worth mentioning that #904 is not related to the question asked. Thanks! |
@y2kbadbug you can set This wasn't immediately obvious, I had to do a little digging myself. |
This directive in |
Hi,
Is there a way to delete the default site listing on port 80?
when I run this module on Ubuntu 1604:
The port 80 is still bound to the default nginx site, a quick and dirty fix is to do this
The text was updated successfully, but these errors were encountered: