I have at home NAS server with apache 2.4 running on 443 with SSL ok on a ddns domain. On this server i have other services running like http in nodejs and in python. I also have other server on private network with other services where i also need to proxy on apache to take advantage of ssl and reduce the number of ports exposed to the internet.
To start i've tried to proxy the localhost aditional services using ProxyPass, ProxyPassReverse on subfolder, replicate folder structure because of resources without success. Tried with ending slash e without it... Also tried with htaccess and vhosts also without success. The best i achivied is for example OpenWebUI, i get the initial logo code but without showing the logo image... i thing i will need some string substitution on urls as openwebui don't have relative urls on resources.
I thinking that will be easier if i have subdomains, but my atual ddns provider do not allow this. Actualy searching to get a provider that allow a private domain in a ddns conection.
Example: 10.0.0.100 - NAS server
- apache - 443
- openwebui - 3033
- gitea - 3100
- portainer - no need to expose 10.0.0.101 - Other server with each service on their ports where i also want to proxy some of them
- mariaDB
- PostgreSQL
- ollama
- n8n
- dify
Has someone tried similar situations with success ? If so, can point me the direction to go with some workable examples ? Or any other recomendations ?
TIA
JL
Added note:
After some tries i get some advance on proxy of openwebui... Now i supose i can get static resources, init the app, but got error that is nor running in correct way, need to start from backend... So far my conf for this apache settings is:
ProxyPass "/_app" "http://localhost:3033/_app"
ProxyPassReverse "/_app" "http://localhost:3033/_app/"
ProxyPass "/static" "http://localhost:3033/static"
ProxyPassReverse "/static" "http://localhost:3033/static/"
ProxyPass "/jl_ia" "http://localhost:3033/"
ProxyPassReverse "/jl_ia" "http://localhost:3033/"
ProxyPassfeature can be used for what you try. Did it endless times myself, it is a standard solution. So you need to be more specific and tell us what issue you actually run into, exactly . So what does your browser's development console tell what the issue is with requests? And what do your apache log files reveal?