From 1cbe9d90e1aca6a09308ebf551ba387cf8035330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= Date: Thu, 28 Aug 2025 13:29:17 -0400 Subject: 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. --- sysutils/nginx-ui/files/nginx-ui.in | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 sysutils/nginx-ui/files/nginx-ui.in (limited to 'sysutils/nginx-ui/files/nginx-ui.in') 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" -- cgit v1.2.3