million12/docker-typo3-flow-neos-abstract

Nginx fails to start when more then one project share the same /data volume

Closed this issue · 1 comments

ryzy commented

This is because vhost by default is configured just to listen on port 80, without vhost name. When more then one vhost like that is present, nginx complains:

nginx: [emerg] duplicate listen options for 0.0.0.0:80 in /data/conf/nginx/hosts.d/[VHOST_FILE].conf:2

ryzy commented

It wasn't really due to duplicate vhosts, it was due to duplicate listen options and was due to some error in descendant images.

See example fix in this commit million12/site-m12-io@86e5d22