Score:0

osTicket is served internally by nginx. How to proxy it via apache2?

in flag
tux

I want my OSTicket Installation to be accessible from outside the network.

Setting:

One Server running Ubuntu 20.04, nginx and osTicket (internal, accessible via osticket.mydomain.com, self signed certs) One Server running Ubuntu 19.04, apache2 (public IP, accessible from outside)

What I want to do is, being able to access the osTicket Installation via www.mydomain.com/osticket from the outside

This is my VirtualHost on the Server with the public IP:

SSLProxyEngine on
ProxyPreserveHost On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
ProxyPass "/osticket" "https://osticket.mydomain.com/„
ProxyPassReverse "/osticket" "https://osticket.mydomain.com/„
ProxyHTMLURLMap https://osticket.mydomain.com/ /osticket
ProxyHTMLURLMap /osticket /osticket

But whenever I access the site, the "osticket" part in the URL is removed and the site is unusable. What do I need to do?

us flag
You need to set up proper root URL in osTicket, so that it knows where it is reachable.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.