WARNING: invalid config detected in file /etc/nginx/sites-available/${domain_name}.conf and file will not be included in webseerver - please contact Administrator.
Closed this issue · 1 comments
stefanpejcic commented
OpenPanel version(s) affected
0.3.6
What OS are you using?
Ubuntu
Description
when adding domain, if there are warnings in nginx -t, example:
nginx: [warn] conflicting server name "status.localhost" on 127.0.0.1:80, ignored
nginx: [warn] conflicting server name "status.localhost" on [::1]:80, ignored
we get:
WARNING: invalid config detected in file /etc/nginx/sites-available/${domain_name}.conf and file will not be included in webseerver - please contact Administrator.
How to reproduce
add new domain
Possible Solution
for now disable nginx conf checkcer..
Additional Context
No response