Apache reverse proxy for Cloud9 using ServerName
I am trying to setup a reverse proxy to a Cloud9 instance running locally
on my server using Apache. I have the following setup:
<VirtualHost *.80>
ProxyPreserveHost On
ProxyPass / http://localhost:3131/
ProxyPassReverse / http://localhost:3131/
ServerAdmin cloud9@mydomain.org
ServerName cloud9.mydomain.org
</VirtualHost>
I have also tried re-ordering the directives so the ServerAdmin and
ServerName came first. So far, if I hit http://cloud9.mydomain.org, I get
a browser error saying it could not connect. There is nothing logged in
Apache's access.log or error.log either. I am thinking that I am missing
some piece, but I am not sure as to what that missing piece might be yet.
I also don't know if I am looking in the right place for logs. The Cloud9
process was started, and appears to be running on the 3131 port.
I don't plan to run Cloud9 wide open. The end-game I am shooting for is to
eventually get Cloud9 hosted through SSL using some auth, maybe basic
auth, but I figured before I started adding SSL and auth into the mix, I
should probably get the basics working first.
No comments:
Post a Comment