Closed dsge closed 9 years ago
I have the same problem with both CentOS and Ubuntu 12.04 LTS manifests. I get a 504 Gateway Timeout when both my site's vhost and the default vhost are enabled. In the error log for my site's vhost I see:
2015/04/07 12:36:04 [error] 8259#0: *2 rewrite or internal redirection cycle while internally redirecting to "/adminer/", client: 192.168.56.1, server: k12pl.dev, request: "GET /adminer/ HTTP/1.1", host: "192.168.56.101"
If I disable my site's vhost Adminer works fine.
@dsge Has it started working after #1515 solution? If not, could you try run:
[11:50 AM]-[vagrant@test]-[~]
$ cd /etc/nginx/sites-enabled/
[11:50 AM]-[vagrant@test]-[/etc/nginx/sites-enabled]
$ sudo mv _.conf 000000000000.conf
[11:51 AM]-[vagrant@test]-[/etc/nginx/sites-enabled]
$ sudo service nginx restart
* Restarting nginx nginx [ OK ]
[11:51 AM]-[vagrant@test]-[/etc/nginx/sites-enabled]
$
and check it again?
Yes it is working now! I did not have to rename the _.conf
file.
My temporary workaround was to create a vagrant.dev
vhost for the var/www/html
folder so I could access adminer on http://vagrant.dev/adminer. But coworkers had to set that vhost in their hosts
file so it's better now that the http://10.0.0.11/adminer is working again.
This is working well by default now.
After provision opening http://10.0.0.11/adminer in my browser causes "500 Internal Server Error nginx/1.6.2".
The
myproject.dev
vhost works as expected. Only thewww/html/
folder and it's contents (like adminer) produce this error./var/log/nginx/3blsanq4ejro.error.log
file:/var/log/nginx/3blsanq4ejro.access.log
file:/var/log/nginx/_.error.log
file is empty./var/log/nginx/_.access.log
file is empty./var/log/nginx/error.log
file is empty./var/log/nginx/access.log
file is empty.My config.yaml: