Add forward-proxy-mod
This commit is contained in:
parent
c8724e70ac
commit
738a09ff83
4 changed files with 22 additions and 1 deletions
|
@ -143,6 +143,7 @@ If you see this page, then SVR.JS installation is successful. You can now replac
|
||||||
* SNI (Server Name Indication) support
|
* SNI (Server Name Indication) support
|
||||||
* ETag support (from SVR.JS 3.6.1)
|
* ETag support (from SVR.JS 3.6.1)
|
||||||
* Reverse proxy functionality (requires reverse-proxy-mod SVR.JS mod)
|
* Reverse proxy functionality (requires reverse-proxy-mod SVR.JS mod)
|
||||||
|
* Forward proxy functionality (requires forward-proxy-mod SVR.JS mod)
|
||||||
|
|
||||||
#### Authentication and access control
|
#### 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.
|
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
|
### 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)
|
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)
|
||||||
|
|
8
source/forward-proxy-mod-changelog.md
Normal file
8
source/forward-proxy-mod-changelog.md
Normal file
|
@ -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.
|
|
@ -10,7 +10,7 @@ svrjsversion: 3.14.12
|
||||||
<div class="hero-content">
|
<div class="hero-content">
|
||||||
<div class="hero-description">
|
<div class="hero-description">
|
||||||
<h1>SVR.JS is a web server running on Node.JS</h1>
|
<h1>SVR.JS is a web server running on Node.JS</h1>
|
||||||
<p>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).</p>
|
<p>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).</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="maindownloads" id="command-tab-other">
|
<div class="maindownloads" id="command-tab-other">
|
||||||
<a href="https://downloads.svrjs.org/svr.js.3.14.12.zip" class="styled-button">Download SVR.JS 3.14.12</a>
|
<a href="https://downloads.svrjs.org/svr.js.3.14.12.zip" class="styled-button">Download SVR.JS 3.14.12</a>
|
||||||
|
|
|
@ -6,6 +6,7 @@ SVR.JS has these official SVR.JS mods:
|
||||||
|
|
||||||
* [**Berno**](https://downloads.svrjs.org/mods/berno.ssi.1.1.0.tar.gz) - SSI (Server-Side Includes) engine (**not maintained**). ***Latest version: 1.1.0***
|
* [**Berno**](https://downloads.svrjs.org/mods/berno.ssi.1.1.0.tar.gz) - SSI (Server-Side Includes) engine (**not maintained**). ***Latest version: 1.1.0***
|
||||||
* [**easy-waf integration**](https://downloads.svrjs.org/mods/easywaf.integration.1.2.4.tar.gz) - WAF (web application firewall) mod. ***Latest version: 1.2.4***
|
* [**easy-waf integration**](https://downloads.svrjs.org/mods/easywaf.integration.1.2.4.tar.gz) - WAF (web application firewall) mod. ***Latest version: 1.2.4***
|
||||||
|
* [**forward-proxy-mod**](https://downloads.svrjs.org/mods/forward-proxy-mod.1.0.0.tar.gz) - mod, that enables SVR.JS to do forward proxy functionality. ***Latest version: 1.0.0***
|
||||||
* [**GreenRhombus**](https://downloads.svrjs.org/mods/greenrhombus.fastcgi.1.0.4.tar.gz) - FastCGI (Fast Common Gateway Interface) client. ***Latest version: 1.0.4***
|
* [**GreenRhombus**](https://downloads.svrjs.org/mods/greenrhombus.fastcgi.1.0.4.tar.gz) - FastCGI (Fast Common Gateway Interface) client. ***Latest version: 1.0.4***
|
||||||
* [**OrangeCircle**](https://downloads.svrjs.org/mods/orangecircle.scgi.1.2.0.tar.gz) - SCGI (Simple Common Gateway Interface) client. ***Latest version: 1.2.0***
|
* [**OrangeCircle**](https://downloads.svrjs.org/mods/orangecircle.scgi.1.2.0.tar.gz) - SCGI (Simple Common Gateway Interface) client. ***Latest version: 1.2.0***
|
||||||
* [**RedBrick**](https://downloads.svrjs.org/mods/redbrick.cgi.2.6.1.tar.gz) - CGI (Common Gateway Interface) engine. ***Latest version: 2.6.1***
|
* [**RedBrick**](https://downloads.svrjs.org/mods/redbrick.cgi.2.6.1.tar.gz) - CGI (Common Gateway Interface) engine. ***Latest version: 2.6.1***
|
||||||
|
@ -91,6 +92,11 @@ Example _easywaf-config.json_ file:
|
||||||
|
|
||||||
_View the [change log.](/easy-waf-integration-changelog)_
|
_View the [change log.](/easy-waf-integration-changelog)_
|
||||||
|
|
||||||
|
### forward-proxy-mod
|
||||||
|
|
||||||
|
_Notes are in the [SVR.JS documentation.](/docs#Forward-proxy-notes)_
|
||||||
|
_View the [change log.](/forward-proxy-mod-changelog)_
|
||||||
|
|
||||||
### GreenRhombus
|
### GreenRhombus
|
||||||
|
|
||||||
_Notes are in the [SVR.JS documentation.](/docs#FastCGI-PHP-FPM)_
|
_Notes are in the [SVR.JS documentation.](/docs#FastCGI-PHP-FPM)_
|
||||||
|
|
Reference in a new issue