diff options
| author | Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org> | 2025-08-28 13:29:17 -0400 |
|---|---|---|
| committer | Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org> | 2025-09-02 15:43:11 -0400 |
| commit | 1cbe9d90e1aca6a09308ebf551ba387cf8035330 (patch) | |
| tree | bbb7a1758db8ddcf4044c0d087383f3eeb9aacff /sysutils/nginx-ui/files/nginx-ui.in | |
| parent | security/yubioath-desktop: Remove expired port (diff) | |
sysutils/nginx-ui: New port: Yet another WebUI for Nginx
Nginx UI is a comprehensive web-based interface designed to simplify
the management and configuration of Nginx single-node and cluster
nodes. It offers real-time server statistics, Nginx performance
monitoring, AI-powered ChatGPT assistance, the code editor that
supports LLM Code Completion, one-click deployment, automatic renewal
of Let's Encrypt certificates, and user-friendly editing tools for
website configurations. Additionally, Nginx UI provides features
such as online access to Nginx logs, automatic testing and reloading
of configuration files, a web terminal, dark mode, and responsive
web design. Built with Go and Vue, Nginx UI ensures a seamless and
efficient experience for managing your Nginx server.
Diffstat (limited to 'sysutils/nginx-ui/files/nginx-ui.in')
| -rw-r--r-- | sysutils/nginx-ui/files/nginx-ui.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sysutils/nginx-ui/files/nginx-ui.in b/sysutils/nginx-ui/files/nginx-ui.in new file mode 100644 index 000000000000..775365e846d0 --- /dev/null +++ b/sysutils/nginx-ui/files/nginx-ui.in @@ -0,0 +1,32 @@ +#!/bin/sh + +# PROVIDE: nginx_ui +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Configuration settings for NGINX UI in /etc/rc.conf +# +# nginx_ui_enable (bool): Enable NGINX UI. (default=NO) +# nginx_ui_log (str): Log output. (default=/var/log/nginx-ui.log) +# nginx_ui_runas (str): User to run NGINX UI as. (default=%%USER%%) +# + +. /etc/rc.subr + +name="nginx_ui" +desc="Yet another WebUI for Nginx" +rcvar="${name}_enable" + +load_rc_config $name + +: ${nginx_ui_enable:="NO"} +: ${nginx_ui_log:="/var/log/nginx-ui.log"} +: ${nginx_ui_runas:="%%USER%%"} + +nginx_ui_chdir="/var/db/nginx-ui" +pidfile="/var/run/nginx-ui.pid" +procname="%%LOCALBASE%%/bin/nginx-ui" +command="/usr/sbin/daemon" +command_args="-o ${nginx_ui_log} -u ${nginx_ui_runas} -p ${pidfile} -t \"${desc}\" ${procname}" + +run_rc_command "$1" |
