tobychui / zoraxy

A general purpose HTTP reverse proxy and forwarding tool. Now written in Go!
https://zoraxy.aroz.org
GNU Affero General Public License v3.0
2.89k stars 172 forks source link

[HELP] Set up zoraxy as a Windows Service #337

Open FlattusBlastus opened 1 day ago

FlattusBlastus commented 1 day ago

New-Service -Name "Zoraxy" -DisplayName "Zoraxy Reverse Proxy" -Description "Zoraxy URL https://zoraxy.aroz.org" -StartupType Automatic -BinaryPathName "C:\zoraxy\zoraxy_windows_amd64.exe --service"

The service does not start.

FlattusBlastus commented 1 day ago

It also doesnt work as a startup task. I can't use Zoraxy in its present state. The cmd window needs to be minimzed to tray at a bare minimum and be able to be autostarted at boot.

tobychui commented 1 day ago

Hi @FlattusBlastus

Zoraxy is designed for Debian (or other forks of Debian like Ubuntu) Linux and compatible to run on Windows by the magic of cross compilation. We didn't optimize Zoraxy for Windows and that is why there isn't a Windows service mode. Though, you can always put it under the startup folder but the cmd window will get show up on system startup.

FlattusBlastus commented 9 hours ago

Thank you for your reply and your work, Toby.

As far as actual work goes on Windows, it places Zoraxy as a mere tech demo rather than an actual serious tool. What a lost opportunity! There just aren't any competitors at this level on Windows for a reverse proxy. While in Linux, I can't see any serious adoption where there are several already well established heavy hitting options out there.

I would encourage you to change your mind as I thought there was tons of merit here with Zoraxy.