diff --git a/source/docs.md b/source/docs.md index 76eedb9..d0ac232 100644 --- a/source/docs.md +++ b/source/docs.md @@ -143,6 +143,7 @@ If you see this page, then SVR.JS installation is successful. You can now replac * SNI (Server Name Indication) support * ETag support (from SVR.JS 3.6.1) * Reverse proxy functionality (requires reverse-proxy-mod SVR.JS mod) +* Forward proxy functionality (requires forward-proxy-mod SVR.JS mod) #### Authentication and access control @@ -826,6 +827,12 @@ And configure _greenrhombus-scriptexts.json_ like this: PHP-FPM may run on different user than SVR.JS web server, so you may need to set permissions for the user, which PHP-FPM runs on. +### Forward proxy notes + +In order to use SVR.JS as a forward proxy, you need to install forward-proxy-mod SVR.JS mod. [Download this mod.](https://svrjs.org/mods) + +If you are using forward-proxy-mod, then local IP addresses and _localhost_ are also accessible from the proxy. You may block these using a firewall, if you don't want these to be accessible from the proxy + ### Reverse proxy configuration In order to use SVR.JS as a reverse proxy, you need to install reverse-proxy-mod SVR.JS mod. [Download this mod.](https://svrjs.org/mods) diff --git a/source/forward-proxy-mod-changelog.md b/source/forward-proxy-mod-changelog.md new file mode 100644 index 0000000..fc9f7ce --- /dev/null +++ b/source/forward-proxy-mod-changelog.md @@ -0,0 +1,8 @@ +--- +title: forward-proxy-mod change log +date: 2024-04-14 17:19:46 +--- + +## forward-proxy-mod 1.0.0 + +* First forward-proxy-mod release. diff --git a/source/index.md b/source/index.md index 689f633..58f04f2 100644 --- a/source/index.md +++ b/source/index.md @@ -10,7 +10,7 @@ svrjsversion: 3.14.12
Host a webpage, run server-side JavaScript, use mods to expand server functionality, or use it as a reverse proxy — all in SVR.JS! SVR.JS is a web server that runs on top of Node.JS, thus enabling server-side JavaScript on webpages. SVR.JS also has an integrated log viewer, log highlighter, and user management tool. SVR.JS can run not only on Node.JS but also in Bun (experimental support).
+Host a webpage, run server-side JavaScript, use mods to expand server functionality, or use it as a forward or reverse proxy — all in SVR.JS! SVR.JS is a web server that runs on top of Node.JS, thus enabling server-side JavaScript on webpages. SVR.JS also has an integrated log viewer, log highlighter, and user management tool. SVR.JS can run not only on Node.JS but also in Bun (experimental support).