Hi y'all,
I'm wanting to setup a web site and a web server. The web server will be a B4J app. It has nothing to do with the static web pages.
So 2 different entities.
I've had help with the setup of a Ubuntu on DigitalOcean.
Installed so far:
1. MS SQL server
2. JRE version 21.0.9
3. Docklet that supports the above?
The B4J app and files have not been installed as of yet, as I'm still developing and testing that.
What I need to know is has anyone done both on the same host so that the website and the B4J web server is running on the same VPS. Possibly 2 Docklets?
Some say to install NGINX and it will receive the incoming client data (JSON) and pass it to the appropriate B4J server port. eg: 8080
The website is listening to ports 80 and 443, right?
Internet
|
v
Nginx (80 / 443) --> status website
Java B4J (8080) --> backend only
Is this correct?
But how to do this has me puzzled as I do not know server stuff or Linux, etc. Just how to develop apps. (old cliche, right?)
I need help on this please.
Regards,
Mark Stuart
I'm wanting to setup a web site and a web server. The web server will be a B4J app. It has nothing to do with the static web pages.
So 2 different entities.
I've had help with the setup of a Ubuntu on DigitalOcean.
Installed so far:
1. MS SQL server
2. JRE version 21.0.9
3. Docklet that supports the above?
The B4J app and files have not been installed as of yet, as I'm still developing and testing that.
What I need to know is has anyone done both on the same host so that the website and the B4J web server is running on the same VPS. Possibly 2 Docklets?
Some say to install NGINX and it will receive the incoming client data (JSON) and pass it to the appropriate B4J server port. eg: 8080
The website is listening to ports 80 and 443, right?
Internet
|
v
Nginx (80 / 443) --> status website
Java B4J (8080) --> backend only
Is this correct?
But how to do this has me puzzled as I do not know server stuff or Linux, etc. Just how to develop apps. (old cliche, right?)
I need help on this please.
Regards,
Mark Stuart