<div dir="ltr">Teravus posted this here 3-4 weeks ago it may help you out > <a href="http://www.networkinghowtos.com/howto/set-the-x-forwarded-for-header-on-a-nginx-reverse-proxy-setup/">http://www.networkinghowtos.com/howto/set-the-x-forwarded-for-header-on-a-nginx-reverse-proxy-setup/</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 6, 2013 at 5:42 PM, Timothy Rogers <span dir="ltr"><<a href="mailto:timothy.f.rogers@gmail.com" target="_blank">timothy.f.rogers@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">One issue I ran into when I was setting up Apache Reverse Proxy, I<br>
noticed I never told it to forward headers, that may be one of your<br>
issues if it is not forwarding the proper header information. I am not<br>
to sure how NiGNX handles headers through reverse proxy.<br>
<div><div class="h5"><br>
On Wed, Nov 6, 2013 at 5:18 PM, <<a href="mailto:opensiminfo@virtualrealmsgrid.com">opensiminfo@virtualrealmsgrid.com</a>> wrote:<br>
> Hi I setup a Nginx Reverse Proxy on my grid. Now I no one can hypergrid in<br>
> or out.<br>
><br>
> I did check connectivity thru the Proxy server and it works. I can log in<br>
> via the new login Uri: <a href="http://login.virtualrealmsgrid.com" target="_blank">login.virtualrealmsgrid.com</a> and I can even log in<br>
> with the new hypergrid address <a href="http://hg.virtualrealmsgrid.com" target="_blank">hg.virtualrealmsgrid.com</a> as the login url..<br>
> SO I know the proxy server is working.<br>
><br>
> Trying to hypergrid in to the grid from another grid I get this result.<br>
><br>
> If I log into Osgrid or Craftworld I search for <a href="http://hg.virtualrealmsgrid.com" target="_blank">hg.virtualrealmsgrid.com</a> in<br>
> the map they find the grid. But when I try to teleport to I get Problem<br>
> Destination. I look at my robust log and there is nothing about hypergrid<br>
> in from either grid.<br>
> If I open my port 8002 on my router I see an attempt at hypergrid but the<br>
> error I get is:<br>
> 2013-11-06 04:01:48,202 DEBUG -<br>
> OpenSim.Services.HypergridService.GatekeeperService [GATEKEEPER SERVICE]:<br>
> Verifying <a href="http://virtualrealmsgrid.com:8002" target="_blank">http://virtualrealmsgrid.com:8002</a> against<br>
> <a href="http://hg.virtualrealmsgrid.com" target="_blank">http://hg.virtualrealmsgrid.com</a><br>
><br>
> <a href="http://virtualrealmsgrid.com:8002" target="_blank">virtualrealmsgrid.com:8002</a> use to be the Login URI and Hypergate info..<br>
> with the Proxy it is:<br>
><br>
> login URI = "<a href="http://login.virtualrealmsgrid.com" target="_blank">login.virtualrealmsgrid.com</a>"<br>
><br>
> hypergrid info for the grid is:<br>
> HomeURI = "<a href="http://hg.virtualrealmsgrid.com" target="_blank">http://hg.virtualrealmsgrid.com</a>"<br>
><br>
> GatekeeperURI = "<a href="http://hg.virtualrealmsgrid.com" target="_blank">http://hg.virtualrealmsgrid.com</a>"<br>
><br>
><br>
> When I log in to the grid as a local user I get some errors in the<br>
> OpenSim.log when I try to hypergrid. these are:<br>
><br>
> 2013-11-06 16:25:51,857 DEBUG - OpenSim.Framework.WebUtil [WEB UTIL]:<br>
> ServiceOSD request 1506<br>
> <a href="http://184.70.53.242/homeagent/a887910d-072c-42f2-92ae-17e69f65d118/" target="_blank">http://184.70.53.242/homeagent/a887910d-072c-42f2-92ae-17e69f65d118/</a> POST<br>
> FAILED: [NotFound] Not Found<br>
><br>
> 2013-11-06 16:25:51,864 DEBUG - OpenSim.Framework.WebUtil [WEB UTIL]:<br>
> ServiceOSD request 1507<br>
> <a href="http://184.70.53.242/homeagent/a887910d-072c-42f2-92ae-17e69f65d118/" target="_blank">http://184.70.53.242/homeagent/a887910d-072c-42f2-92ae-17e69f65d118/</a> POST<br>
> FAILED: [NotFound] Not Found<br>
> 2013-11-06 16:25:51,866 WARN -<br>
> OpenSim.Services.Connectors.Simulation.SimulationServiceConnector [REMOTE<br>
> SIMULATION CONNECTOR]: Failed to create agent Todd Davis at remote simulator<br>
><br>
> 2013-11-06 16:25:51,868 DEBUG -<br>
> OpenSim.Region.CoreModules.Framework.EntityTransfer.EntityTransferModule<br>
> [ENTITY TRANSFER MODULE]: Teleport of Todd Davis from Mezzo Realm to Lbsa<br>
> Plaza was refused because Service request failed: [NotFound] Not Found<br>
><br>
><br>
><br>
> Also I get one error when I log off the grid as a user in the OpenSim.log.<br>
><br>
> 2013-11-06 16:26:24,869 DEBUG -<br>
> OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector [USER AGENT<br>
> CONNECTOR]: Unable to contact remote server <a href="http://184.70.53.242/" target="_blank">http://184.70.53.242/</a> for<br>
> GetBoolResponse<br>
><br>
> The setup for the grid is the only the hypergrid server information is<br>
> exposed to the internet ie: all the 8002 connectors pass through the proxy<br>
> and the 8003 connectors are on a internal network ip system.. Save I have a<br>
> SRAS Asset server running that is on 8004 and that is exposed to the<br>
> internet also (that is another question but it needs to wait).<br>
><br>
> I have checked and rechecked to make sure all references to old<br>
> <a href="http://virtualrealmsgrid.com:8002" target="_blank">virtualrealmsgrid.com:8002</a> are changed to new proxy URIs.. I have even<br>
> gone through all my databases to make sure nothing shows<br>
> virtualrealmsgrid:8002<br>
><br>
> So the long and short of this is I think there is something not pointing<br>
> properly in either the Robust.HG.ini, OpenSim.ini or GridCommon.ini not<br>
> talking to the hypergrid connectors..<br>
><br>
> Thanks for the help in advance..<br>
><br>
> Todd<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Opensim-users mailing list<br>
> <a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
> <a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Michael Emory Cerquoni
</div>