compy
compy copied to clipboard
Enhancement request: local http/https port change option
I'm running compy on my LAN machine, which also hosts a website with nginx via HTTP and HTTPS. If I try to access compy's local webpage where the total savings are displayed, nginx interferes with compy and nothing is displayed.
I guess an option to change the port where the proxy is listinening to HTTP/S connections would be the solution.
Just my two cents.
You can configure the port via -host :1234
. Does this address your issue?
If I do -host :1234, compy changes the port of the proxy. I mean to change the port of the local server that serves the HTML status page inbuilt in the code. See this function: https://github.com/barnacs/compy/blob/395220b94731045436b52eb65a96a3c207ec5f76/proxy/proxy.go#L151