Fully hiding localhost:8080 with Nginx as reverse proxy?

Hello list,
As mentioned earlier, Nginx and Apache are currently playing nicely
together, with Apache handling all my OSTicket needs. However, I’m now
trying to send mail from OSTicket, and while OST claims success, I’m not
seeing any messages coming to my account. I was doing some searching and
found that this can happen if the email appears to come from localhost,
or
some other invalid domain. Given my setup, I suspect that this is
exactly
the problem. What can I do to have responses from Apache appear to come
from the domain’s IP, rather than 127.0.0.1:8080? Thanks!

On Mon, May 16, 2016 at 05:00:06PM -0400, Alex H. wrote:

Hi there,

trying to send mail from OSTicket, and while OST claims success, I’m not
seeing any messages coming to my account. I was doing some searching and
found that this can happen if the email appears to come from localhost, or
some other invalid domain.

I’m pretty sure that a php application sending mail is unrelated to
the nginx that is in front of it (whether by fastcgi_pass or
proxy_pass).

You’ll probably have better luck asking your search engine of choice
for things like “send email from osticket”.

Cheers,

f

Francis D. [email protected]