Hello,
I am planning to use NGINX_APACHE as a REVERSE PROXY for my app in other server.
My App is hosted on sub.domain.tld port 9898.
The problem is, the port 9898 does not provide SSL but I want to access sub.domain.tld with SSL.
So, in Directadmin I setup a LETSENCRYPTSSL, and this is my NGINX custom HTTPD:
Now, accessing https://sub.domain.tld will show 502 Bad Gateway.
in contrary, accessing with http://sub.domain.tld will show the App page just without SSL though I did not setup PORT_8080 (only port 8081).
Is this still doable, could someone guide me please.
Thanks
I am planning to use NGINX_APACHE as a REVERSE PROXY for my app in other server.
My App is hosted on sub.domain.tld port 9898.
The problem is, the port 9898 does not provide SSL but I want to access sub.domain.tld with SSL.
So, in Directadmin I setup a LETSENCRYPTSSL, and this is my NGINX custom HTTPD:
Code:
|?PROXY_IP=sub.domain.tld|
|?PORT_8081=9898|
Now, accessing https://sub.domain.tld will show 502 Bad Gateway.
in contrary, accessing with http://sub.domain.tld will show the App page just without SSL though I did not setup PORT_8080 (only port 8081).
Is this still doable, could someone guide me please.
Thanks
Last edited: