-
Notifications
You must be signed in to change notification settings - Fork 6
Home
This is a basic proxy script that you can use for your server. It was written in TypeScript and uses node.js as runtime. It was originally written by @flamexdev, but I, @Luna-devv, am maintaining this heavily modified fork to provide a stable and feature rich script for the community.
So what's a Proxy you might ask?
If you have your own server, like a VPS (Get a VPS
) and you want to host a website on it, you can by default access it using your server's IP (let's use 123.456.789
here) and the port on which your website is running (let's use 3000
here).
That means you can go on your website using 123.456.789:3000
, but that won't look good, is hard to remember and insecure. So you can put this into a domain you bought (Buy a Domain
) (let's use example.com
here), but the issue here would be, the only way getting access to the website with example.com
, would be by launching the website on port 80
.
This might be fine if you only have 1 website, but it will get hard if you have 2 or more websites since there is no way 2 things are using the same port. So this is where this proxy script comes in. You can launch this script on port 80
, and launch all your websites on different ports, and they will still be able to connect to a domain :^)
If you need help with this, feel free to open a issue, send me an E-Mail or join my Discord server.