Had this same Bad Request (400) issue, it was also making it impossible to 
clients to register on the server. 

Solved that by modifing /opt/openwisp2/openwisp2/settings.py adding the 
domain part of the URL (in our case the IP address of the server) to the 
line:

ALLOWED_HOSTS = ['IP_Address', 'localhost',]  

After rebooting we were able to register clients and access the web console 
from outside the virtual machile we were using.

This might happen more often after local deployments of the server (ansible 
deploying the server on localhost).





Em terça-feira, 24 de janeiro de 2017 13:14:14 UTC-2, Federico Capoano 
escreveu:
>
> No, because both will compete for the same ports.
>
> If you want to use the automated install procedure you should run it on a 
> fresh virtual machine or linux container.
>
> I added a note to the README:
>
> https://github.com/openwisp/ansible-openwisp2/commit/deade946bd8d6a72015425e6a81f9787efdf85a8
>
> I hope it's clear.
>
> Federico
>
>
> On Tuesday, January 24, 2017 at 2:47:02 PM UTC+1, BIYOHNE Fabrice wrote:
>>
>> i am trying to install openwisp2 following this : 
>> https://github.com/openwisp/ansible-openwisp2
>>
>> can nginx run on the same server with apache2?
>>
>> regards
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to