WordPress / meta-environment

A collection of scripts that provision the official WordPress.org websites into a Varying Vagrant Vagrants installation.
190 stars 69 forks source link

nginx: configuration file /etc/nginx/nginx.conf test failed #104

Closed CoachBirgit closed 7 years ago

CoachBirgit commented 7 years ago

With the new config I only have defined "wordpressorg.dev": true to provision one site but I got this error:

==> default:  * Restarting nginx nginx
==> default: nginx: [emerg] open() "/srv/www/wordpress-meta-environment/buddypressorg.dev/logs/nginx-access.log" failed (2: No such file or directory)
==> default: nginx: configuration file /etc/nginx/nginx.conf test failed
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Workaround: Copy the log directory of wordpressorg.dev/log to the other sites.