abhinavsingh / proxy.py

💫 Ngrok FRP Alternative • ⚡ Fast • 🪶 Lightweight • 0️⃣ Dependency • 🔌 Pluggable • 😈 TLS interception • 🔒 DNS-over-HTTPS • 🔥 Poor Man's VPN • ⏪ Reverse & ⏩ Forward • 👮🏿 "Proxy Server" framework • 🌐 "Web Server" framework • ➵ ➶ ➷ ➠ "PubSub" framework • 👷 "Work" acceptor & executor framework
https://abhinavsingh.com/proxy-py-a-lightweight-single-file-http-proxy-server-in-python/
BSD 3-Clause "New" or "Revised" License
2.91k stars 568 forks source link

How to configure reverse plugin correctly? #1334

Open plotti opened 1 year ago

plotti commented 1 year ago

Trying to point the reverse proxy plugin to anything else see screenshot:

Bildschirmfoto 2023-05-22 um 17 36 22

When i go to the website i get:

Bildschirmfoto 2023-05-22 um 17 37 22
plotti commented 1 year ago

Why doesn't it stay on my local machine like i thought a reverse plugin does?

plotti commented 1 year ago

Also how can i change the website i receive on the fly? I want to use beautiul soup to exchange some site elements...

abhinavsingh commented 1 year ago

Hi @plotti , Currently reverse proxy eco-system don't support same plugin interface as our proxy server plugins. This is because reverse proxy support was added mostly because it was technically possible, but I never found time to evolve/mature it. Hence, it exists in more-or-less a prototype stage, where once can only choose between upstream URL choices.

This is something we are already planning for the next release, but that won't be out for at-least a month.