From 2add4c6e337342eb975d083448e9e4dc89863508 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Tue, 23 Jul 2024 21:08:31 +0200 Subject: [PATCH] Add information about Next.js integration mod. --- source/mods.md | 9 ++++++++- source/nextjs-integration-changelog.md | 8 ++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 source/nextjs-integration-changelog.md diff --git a/source/mods.md b/source/mods.md index 809c649..5e5a03c 100644 --- a/source/mods.md +++ b/source/mods.md @@ -8,12 +8,13 @@ SVR.JS has these official SVR.JS mods: * [**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.7.tar.gz) - FastCGI (Fast Common Gateway Interface) client. ***Latest version: 1.0.7*** +* [**Next.js integration**](https://downloads.svrjs.org/mods/nextjs.integration.1.0.0.tar.gz) - mod, that enables SVR.JS to serve Next.js applications. ***Latest version: 1.0.0*** * [**OrangeCircle**](https://downloads.svrjs.org/mods/orangecircle.scgi.1.2.1.tar.gz) - SCGI (Simple Common Gateway Interface) client. ***Latest version: 1.2.1*** * [**RedBrick**](https://downloads.svrjs.org/mods/redbrick.cgi.2.6.2.tar.gz) - CGI (Common Gateway Interface) engine. ***Latest version: 2.6.2*** * [**reverse-proxy-mod**](https://downloads.svrjs.org/mods/reverse-proxy-mod.1.1.4.tar.gz) - mod, that enables SVR.JS to do reverse proxy functionality. ***Latest version: 1.1.4*** * [**YellowSquare**](https://downloads.svrjs.org/mods/yellowsquare.jsgi.1.1.3.tar.gz) - JSGI (JavaScript Gateway Interface) engine. ***Latest version: 1.1.3*** -**All of those mods are licensed under MIT/X11 license.** +**All of these mods are licensed under MIT/X11 license.** ## Notes @@ -102,6 +103,12 @@ _View the [change log.](/forward-proxy-mod-changelog)_ _Notes are in the [SVR.JS documentation.](/docs#FastCGI-PHP-FPM)_ _View the [change log.](/greenrhombus-changelog)_ +### Next.js integration + +The webroot (_wwwroot_ _config.json_ property) serves as a Next.js application directory. Setting a `NODE_ENV` environment variable to `development` in SVR.JS configuration enables Next.js development server. + +_View the [change log.](/nextjs-integration-changelog)_ + ### OrangeCircle _Notes moved to [SVR.JS documentation.](/docs#CGI-SCGI-JSGI-PHP)_ diff --git a/source/nextjs-integration-changelog.md b/source/nextjs-integration-changelog.md new file mode 100644 index 0000000..2319f35 --- /dev/null +++ b/source/nextjs-integration-changelog.md @@ -0,0 +1,8 @@ +--- +title: Next.js integration change log +date: 2024-07-24 21:04:00 +--- + +## Next.js integration 1.0.0 +_Released in July 24, 2024_ +* First Next.js integration release.