Ever since i split into two stacks my guacamole has stopped working.

Message The character [_] is never valid in a domain name.

This is because I am now accessing it on the externalnet with domain [stack name]_[container name].

I need to fix this in the reverse proxy.

This fixed it (setting the headers in nginx location directive).