Open carlba opened 6 years ago
The default default.conf is normally removed : https://github.com/jdauphant/ansible-role-nginx/blob/0d9019cf89283b878f0e077f5da4d2748b7c352a/tasks/remove-defaults.yml
@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
.
As noted by @megheaiulian this is kind of a problem...
@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
Done, check #231
In CentOS 7 there is a file called default.conf that clashes with my own site how do I disable that?