Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

disable default config #208

Open
carlba opened this issue Feb 27, 2018 · 5 comments
Open

disable default config #208

carlba opened this issue Feb 27, 2018 · 5 comments

Comments

@carlba
Copy link

carlba commented Feb 27, 2018

In CentOS 7 there is a file called default.conf that clashes with my own site how do I disable that?

@jdauphant
Copy link
Owner

@megheaiulian
Copy link

megheaiulian commented Apr 28, 2018

@jdauphant In some later versions of nginx it seems there is a default.conf file in /etc/nginx/sites-available/. Currently the role removes a file called default (not default.conf) in remove-defaults.yml.

@neslinesli93
Copy link
Contributor

As noted by @megheaiulian this is kind of a problem...

@jdauphant
Copy link
Owner

@megheaiulian @neslinesli93
I get it, thanks for the report.
You can submit a PR following the conf.d/default.conf removal but for sites-available/default.conf

@neslinesli93
Copy link
Contributor

Done, check #231

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

No branches or pull requests

4 participants