Coder Social home page Coder Social logo

picohz / taxy Goto Github PK

View Code? Open in Web Editor NEW
52.0 52.0 6.0 2.76 MB

A reverse proxy server with built-in WebUI, supporting TCP/HTTP/TLS/WebSocket, written in Rust.

Home Page: https://taxy.dev/

License: MIT License

Rust 99.39% HTML 0.26% Dockerfile 0.23% CSS 0.04% JavaScript 0.08%
acme http http-proxy http2 proxy proxy-server reverse-proxy rust tcp tls-proxy tokio websocket

taxy's Introduction

taxy's People

Contributors

deepsource-io[bot] avatar dependabot[bot] avatar picohz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

taxy's Issues

how to set cert and key to start in HTTPS ?

Hi thanks a lot for this project

I am trying to create a qpkg for QNAP NAS and integrate it to our qpkg repository ( https://www.myqnap.org )

all is compiled fine and running with :

./taxy start --webui 0.0.0.0:49492

but credential do not passed, seems due I need to go under HTTPS
also because I am on a headless NAS, localhost with --web-insecure do not help (need to force it on 0.0.0.0)

Unfortunately, I can't find a way to force ssl and run on https on 0.0.0.0:49492

Any chance to get this option, adding my certs and key file to command line to be able to manage it locally over https ?

Thanks a lot for your help,

can not login admin ui in http ip port

since http://vps_ip:46492 is not a secure enviroment, it can not set cookie and login.

I need taxy to get https, but I need https to use taxy. ┑( ̄Д  ̄)┍

How about add a config file and set the vhost for the admin ui:

admin_ui:
  enabled: true
  vhost: vps_ip.nip.io  # so we can access `https://vps_ip.nip.io`

Traffic inspection

Are there any plans to bake in content inspection? - Track all requests, collecting stats like request time, size, etc. As well as viewing the request + response headers & bodies and the response status code.

Something like - https://mitmproxy.org/

On-the-fly mutation of headers would be nice too.. as https://github.com/svenstaro/proxyboi does, but with a much-nicer interface

Gotta say, I love the clean UI and its effortless config. There's lots of room to make this much more robust, it already has a nice foundation.

Domain redirects to route value

Currently, when attempting visit certain routes such as radarr, sonarr, and other services it is redirecting to from the domain to back to the route specificed. Some services work fine such as grafana, and deluge, but many others seem to be not working properly.

Example:

Virtual host: sonarr.example.com
Route: http://192.168.0.66:9999

Entering sonarr.example.com redirects to http://192.168.0.66:9999

Another issue is qbittorrent completing failing to load when trying to load the page, a blank page is displated instead, and the console logs show that it is failing to load all the resources for some reason.

I have swapped back to using Envoy proxy and all is working again. Hopefully this issue will be resolved shortly, I was really liking the web UI. If you need more indepth details, I can supply them, please just let me know what you will need to resolve these issues.

cant login after create acount

cant login after create acount

Create a user

$ taxy add-user admin
$ password?: ******

at logs no problem at all
2023-07-30T15:09:21.343307Z INFO taxy::admin: webui server started on 0.0.0.0:46492
2023-07-30T15:09:21.318022Z INFO taxy::config::file: load acmes path="/root/.config/taxy/acme.toml"
2023-07-30T15:09:21.312897Z INFO taxy::config::file: load config path="/root/.config/taxy/config.toml"
2023-07-30T15:09:21.318327Z INFO taxy::config::file: load config path="/root/.config/taxy/ports.toml"
2023-07-30T15:09:21.318434Z INFO taxy::config::file: load proxies path="/root/.config/taxy/proxies.toml"
2023-07-30T15:09:21.327666Z INFO taxy::config::file: save config path="/root/.config/taxy/ports.toml"
2023-07-30T15:09:21.327690Z INFO taxy::config::file: load config path="/root/.config/taxy/ports.toml"
2023-07-30T15:09:21.328092Z INFO taxy::config::file: save config path="/root/.config/taxy/proxies.toml"
2023-07-30T15:09:21.328103Z INFO taxy::config::file: load config path="/root/.config/taxy/proxies.toml"

`GLIBC_2.32' not found in debian 10

root@localhost:~/taxy# wget https://github.com/picoHz/taxy/releases/download/v0.3.16/taxy-x86_64-unknown-linux-gnu.tar.xz
root@localhost:~/taxy# tar -xf taxy-x86_64-unknown-linux-gnu.tar.xz
root@localhost:~/taxy# ./taxy
./taxy: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./taxy)
./taxy: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./taxy)
./taxy: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./taxy)
root@localhost:~/taxy# cat /proc/version
Linux version 5.10.0-23-amd64 ([email protected]) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.10.179-1 (2023-05-12)
root@localhost:~/taxy#

NOTE I was using the 0.3.16 prebuilt rather than 0.3.17

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.