Welcome! Log In Create A New Profile

Advanced

Re: Newbie: Proxy to Glassfish

GZ1
April 08, 2011 05:55PM
Making progress! The /dc location wasn't working because it wasn't just rewriting the url, just proxying, so on my Glassfish server it was looking for /dc/..., which wasn't there.

So for now I'll just use location / and figure out another way to differentiate the dynamic and static content by location.
At least now I can reach Glassfish from nginx, which is pretty cool.

Thanks for the lead!

One question, though... this didn't work:

proxy_pass localhost:8080;

This did:

proxy_pass http://localhost:8080;

What if I want to proxy my ssl too?
Subject Author Posted

Newbie: Proxy to Glassfish

GZ1 April 08, 2011 03:25PM

Re: Newbie: Proxy to Glassfish

Maxim Dounin April 08, 2011 04:48PM

Re: Newbie: Proxy to Glassfish

GZ1 April 08, 2011 05:17PM

Re: Newbie: Proxy to Glassfish

GZ1 April 08, 2011 05:55PM

Re: Newbie: Proxy to Glassfish

edogawaconan April 09, 2011 05:02AM

Re: Newbie: Proxy to Glassfish

Cliff Wells April 09, 2011 01:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 188
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready