If Windows is your target environment I’ll be demonstrating how to test & deploy standalone Web Apps with reverse proxy & SSL offloading using IIS. The process is trivial and largely point & click. Join us at http://vxug.org/ on the 30th. @Phillip Zedalis & @Geoff Perlman will be there too!
Sorry I am only familiar with apache2, where you need to enable mod_proxy and settings this in the config file. And no, basically nginx should do quite the same job if you are accessing your web with public URL. I see no need for an additional haproxy except when it comes to LB.
I have to pass this to somebody else with deeper knowledge of nginx… your stand alone server listens to this port? try to access it from the inside on http://93.90.178.92:34001
Having said that, I am struggling with trying to do the same as you (instead of connecting directly to a port other than 80 or 443).
I always get the Xojo “Server disconnected” text (but without any images). It’s like Xojo loads the framework but is then unable to talk to it.
The only method I have seen work so far (on these forums) is to use unique subdomains for your webapps (app1.example.com, app2.example.com) and have the config location set to / for each.
It would be good if someone from Xojo could explain how the webapp determines the URI, or if it can only use the domain name (in which case, this approach cannot work unless the webapp can somehow be forced to use a given subdirectory after the domain name. Feature request for a comman line option…?)
Sounds like you need to use “location /” in your settings. You don’t want to be trying to piece together every url, just forward everything to the xojo app.
Yes, I brought it to live while using an own supdomain for the app. That works.
Plesk only supports the proxy-configuration for subfolders. So I had to change the nginx.conf file by my self, which is originally generated by Plesk. Unfortunately everytime I make some changes on the subdomain, I have manually reconfigure this file again because Plesk overwrites it.
Nice to hear this! congrats and yes in such cases plesk or other admin tools like webmin (my favorite) are at their limits. For direct editing I am using mc / mcedit instead of vi or other editors… hounting shadows of my past MSDOS and Norton Commander times