Setting up Zoraxy reverse proxi hosted on yunohost working with the apps hosted by yunohost

What type of hardware are you using: Virtual machine
What YunoHost version are you running: 12.0.17
What app is this about: Zoraxy

Describe your issue

Hello,

I’m trying to set yunohost service like nextcloud, vaultwarden working behind Zoraxy reverse proxi wile Zoraxy.

Can you help me with this ?

i tried setting up Zoraxy and got error

Maybe Zoraxy should be on port 80 and 443 instead of yunohost ?

thank for your help

Share relevant logs or error messages

OGFILE: journalctl
juin 11 18:10:30 zoraxy[813]: [2025-06-11 18:10:30.487644] [internal] [system:info] Uptime Monitor background service started
juin 11 18:10:30 zoraxy[813]: [2025-06-11 18:10:30.487665] [LoadBalancer] [system:info] Updating upstream apps.local/vaultwarden/ online state to false
juin 11 18:10:32 zoraxy[813]: [2025-06-11 18:10:32.046736] [auth] [system:info] There are no user in the database
juin 11 18:10:57 zoraxy[813]: [2025-06-11 18:10:57.370564] [internal] [system:info] mDNS Startup scan completed

LOGFILE: journalctl
juin 11 18:10:30 zoraxy[813]: [2025-06-11 18:10:30.487644] [internal] [system:info] Uptime Monitor background service started
juin 11 18:10:30 zoraxy[813]: [2025-06-11 18:10:30.487665] [LoadBalancer] [system:info] Updating upstream apps.local/vaultwarden/ online state to false
juin 11 18:10:32 zoraxy[813]: [2025-06-11 18:10:32.046736] [auth] [system:info] There are no user in the database
juin 11 18:10:57 zoraxy[813]: [2025-06-11 18:10:57.370564] [internal] [system:info] mDNS Startup scan completed
juin 11 18:11:50 zoraxy[813]: [2025-06-11 18:11:50.495253] [uptime-monitor] [system:info] Uptime monitor config updated
juin 11 18:11:50 zoraxy[813]: [2025-06-11 18:11:50.496992] [uptime-monitor] [system:error] Ping upstream timeout. Assume offline: Get “: //apps.local/vaultwarden/”: dial tcp: lookup apps.local on 127.0.0.1:53: no such host
juin 11 18:11:50 zoraxy[813]: [2025-06-11 18:11:50.509618] [static-webserv] [system:info] Static Web Server started. Listeing on :5487
juin 11 18:11:51 zoraxy[813]: [2025-06-11 18:11:51.932489] [uptime-monitor] [system:info] Uptime monitor config updated
juin 11 18:11:51 zoraxy[813]: [2025-06-11 18:11:51.934611] [uptime-monitor] [system:error] Ping upstream timeout. Assume offline: Get “: //apps.local/vaultwarden/”: dial tcp: lookup apps.local on 127.0.0.1:53: no such host
juin 11 18:11:52 zoraxy[813]: [2025-06-11 18:11:52.072400] [uptime-monitor] [system:info] Uptime monitor config updated
juin 11 18:11:52 zoraxy[813]: [2025-06-11 18:11:52.074201] [uptime-monitor] [system:error] Ping upstream timeout. Assume offline: Get “: //apps.local/vaultwarden/”: dial tcp: lookup apps.local on 127.0.0.1:53: no such host
juin 11 18:11:54 zoraxy[813]: [2025-06-11 18:11:54.716694] [dprouter] [system:info] Starting -to- redirector (port 80)
juin 11 18:11:54 zoraxy[813]: [2025-06-11 18:11:54.716774] [dprouter] [system:info] Reverse proxy service started in the background (TLS mode)
juin 11 18:11:54 zoraxy[813]: [2025-06-11 18:11:54.716789] [dprouter] [system:error] Could not start proxy server: listen tcp :443: bind: permission denied
juin 11 18:11:54 zoraxy[813]: 2025/06/11 18:11:54 Could not start redirection server: listen tcp :80: bind: permission denied
juin 11 18:11:54 zoraxy[813]: [2025-06-11 18:11:54.716825] [dprouter] [system:info] to redirection listener stopped
juin 11 18:11:54 systemd[1]: zoraxy.service: Main process exited, code=exited, status=1/FAILURE
juin 11 18:11:54 systemd[1]: zoraxy.service: Failed with result ‘exit-code’.
juin 11 18:11:54 systemd[1]: zoraxy.service: Consumed 2.283s CPU time.
juin 11 18:20:30 systemd[1]: Started zoraxy.service - Zoraxy: Reverse proxy server.
juin 11 18:20:30 zoraxy[2402]: Checking required config update
juin 11 18:20:30 zoraxy[2402]: [2025-06-11 18:20:30.799955] [database] [system:info] Using BoltDB as the database backend
juin 11 18:20:30 zoraxy[2402]: [2025-06-11 18:20:30.801320] [auth] [system:info] Authentication session key loaded from database
juin 11 18:20:31 zoraxy[2402]: [2025-06-11 18:20:31.287644] [LoadBalancer] [system:info] Upstream state cache ticker started
juin 11 18:20:31 zoraxy[2402]: [2025-06-11 18:20:31.290856] [static-webserv] [system:info] Static Web Server started. Listeing on :5487
juin 11 18:20:31 zoraxy[2402]: 2025/06/11 18:20:31 Environment variable ZT_AUTH not defined. Trying to load authtoken from file.
juin 11 18:20:31 zoraxy[2402]: 2025/06/11 18:20:31 Unable to read authkey at /var/lib/zerotier-one/authtoken.secret: open /var/lib/zerotier-one/authtoken.secret: no such file or directory
juin 11 18:20:31 zoraxy[2402]: [2025-06-11 18:20:31.293747] [internal] [system:info] Failed to load ZeroTier controller API authtoken
juin 11 18:20:31 zoraxy[2402]: 2025/06/11 18:20:31 ZeroTier connection failed: Get “://localhost:9993/status”: dial tcp [::1]:9993: connect: connection refused
juin 11 18:20:31 zoraxy[2402]: [2025-06-11 18:20:31.298830] [cert-renew] [system:info] ACME early renew set to 30 days and check interval set to 86400 seconds
juin 11 18:20:31 zoraxy[2402]: [2025-06-11 18:20:31.298847] [internal] [system:info] Starting ACME handler
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.300877] [internal] [system:info] TLS mode enabled. Serving proxy request with TLS
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.300930] [internal] [system:info] Development mode enabled. Using no-store Cache Control policy
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.300947] [internal] [system:info] Force latest TLS mode disabled. Minimum TLS version is set to v1.0
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.300961] [internal] [system:info] Port 80 listener disabled
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.300977] [internal] [system:info] Port 443 is occupied. Change the listening port in the webmin panel and press “Start Service” to start reverse proxy service
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.300995] [internal] [system:info] Force mode enabled
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.301047] [internal] [system:info] Inbound port not set. Using default (443)
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.302509] [proxy-config] [system:info] / → 127.0.0.1:5487 routing rule loaded
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.303031] [proxy-config] [system:info] vaultwarden.porceley.fr → apps.local/vaultwarden/ routing rule loaded
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.303809] [internal] [system:info] Uptime Monitor background service started
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.303829] [uptime-monitor] [system:error] Ping upstream timeout. Assume offline: Get " ://apps.local/vaultwarden/": dial tcp: lookup apps.local on 127.0.0.1:53: no such host
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.303859] [LoadBalancer] [system:info] Updating upstream apps.local/vaultwarden/ online state to false
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.801442] [internal] [system:info] Assigned temporary port:46753
juin 11 18:20:32 zoraxy[2402]: [2025-06-11 18:20:32.801477] [internal] [system:info] Zoraxy started. Visit control panel at : //localhost:57974
juin 11 18:20:34 zoraxy[2402]: [2025-06-11 18:20:34.865539] [auth] [system:info] There are no user in the database
juin 11 18:20:54 zoraxy[2402]: [2025-06-11 18:20:54.327371] [dprouter] [system:info] Starting -to- redirector (port 80)
juin 11 18:20:54 zoraxy[2402]: 2025/06/11 18:20:54 Could not start redirection server: listen tcp :80: bind: permission denied
juin 11 18:20:54 systemd[1]: zoraxy.service: Main process exited, code=exited, status=1/FAILURE
juin 11 18:20:54 systemd[1]: zoraxy.service: Failed with result ‘exit-code’.

Bonsoir @porceley
Ce changement de RP est-il un défi technique ou une nécessité ? NGINX (c’est lui qui occupe les ports 80 et 443) fait très bien le boulot mais tu as sans doute tes raisons.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.