Open OniriCorpe opened 4 months ago
I think I have a related issue. I have 2 Nextcloud apps on the same server. When running command nginx -t
I see this
nginx: [warn] duplicate extension "js", content type: "text/javascript", previous content type: "application/javascript" in /etc/nginx/conf.d/nextcloud1.domain.tld.d/nextcloud.conf:7
nginx: [warn] duplicate extension "js", content type: "text/javascript", previous content type: "application/javascript" in /etc/nginx/conf.d/nextcloud2.domain.tld.d/nextcloud__2.conf:7
However, at server boot nginx starts correctly nevertheless. Still, I believe this warning should be fixed.
Describe the bug
nginx crashes at server boot
nginx -t and the systemctl log return this error :
nginx: [warn] duplicate extension "js", content type: "text/javascript", previous content type: "application/javascript" in /etc/nginx/conf.d/nuage.emelyne.eu.d/nextcloud.conf:7
when i comment the following lines in my
/etc/nginx/conf.d/nextcloud.example.com.d/nextcloud.conf
, nginx start without any issue:i don't know why these lines are here, so i don't patch the package and i open this issue
Context
Steps to reproduce
Expected behavior
nginx starts successfully as usual
Logs