Files
ports/sysutils/nginx-ui/files/pkg-message.in
T
Jesús Daniel Colmenares Oviedo 1cbe9d90e1 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.
2025-09-02 15:43:11 -04:00

40 lines
962 B
Plaintext

[
{ type: install
message: <<EOM
NGINX UI is installed
1) Install a variant of NGINX like www/nginx:
pkg install -y www/nginx
2) Populate NGINX directory with the directories
required by NGINX UI:
mkdir -p %%PREFIX%%/etc/nginx/conf.d
mkdir -p %%PREFIX%%/etc/nginx/streams-enabled
mkdir -p %%PREFIX%%/etc/nginx/sites-enabled
mkdir -p %%PREFIX%%/etc/nginx/sites-available
mkdir -p %%PREFIX%%/etc/nginx/streams-available
3) Configure NGINX:
cp %%DATADIR%%/nginx-ui.conf %%PREFIX%%/etc/nginx/conf.d
cp %%DATADIR%%/nginx.conf %%PREFIX%%/etc/nginx/nginx.conf
Of course, if you have already modified nginx.conf, backup it first.
Then, after copying the new nginx.conf, edit it according to your needs.
4) Configure NGINX UI in /var/db/nginx-ui/app.ini
5) Enable NGINX UI with
sysrc nginx_ui_enable=YES
6) Start both NGINX and NGINX UI with
service nginx-ui start
service nginx start
EOM
}
]