v2.0.0-beta.27
Notice
We're excited to announce that we've been hard at work developing the next generation of the Nginx UI (v2). To keep up-to-date with our progress, please visit https://github.com/users/0xJacky/projects/1.
Please feel free to send any feedbacks, suggestions or bug reports in Github issues.
Change vs v2.0.0-beta.26
- Remove trailing
.conf
in default nginx stream block, thanks to the contributions of @PeterWang-dev. #444 #445 - Enhance(upgrader): gracefully replace the old exe with the new exe.
- Add batch upgrade remote nginx-ui.
- Hide enviroments management page and upgrade page when connecting to remote node.
- Fix the issue of saving settings #446.
- Add 2FA authorization for login #344, #419.
- Add 2FA authorization for Web Terminal #394 .
Breaking Changes:
- About PR #445, if you are using nginx-ui docker container and encounter this issue, you have to remove the trailing
.conf
manually. Diff: https://github.com/0xJacky/nginx-ui/pull/445/files - The
nginx_log
section in the configuration file has been renamed tonginx
.
NginxConfigDir
andNginxPIDPath
in theserver
section have been renamed toConfigDir
andPIDPath
respectively, and both have been moved into thenginx
section. - The
ReloadCmd
andRestartCmd
have been added in thenginx
section to configure custom commands for reloading/restarting Nginx. - In versions above v2.0.0-beta.23 of Nginx UI Docker containers,
/var/logs/nginx/access.log
and/var/logs/nginx/error.log
are no longer soft links to/dev/stdout
and/dev/stderr
, but regular files. If you need this functionality, please addaccess_log /dev/stdout
anderror_log /dev/stderr
in yournginx.conf
. For users upgrading from older versions who do not need this feature, check if yournginx.conf
containsaccess_log /var/logs/nginx/access.local.log
anderror_log /var/logs/nginx/error.local.log
. If so, please manually remove them to avoid duplicate log entries. This change allows you to map/var/logs/nginx
to a directory on the host machine to achieve persistent storage of log files.
What's new:
- We're proud to have registered the nginxui.com domain 🎉.
- We have launched a new documentation site, please check nginxui.com.
- Node management functionality has been introduced (#70).
- Duplicate site function now can duplicate config to remote server.
- French translations have been added, thanks to the contributions of @skrilax91.
- Added border-radius to Ace Editor and terminal, we hope you will like this change :).
- You can now deploy site configuration to a remote server.
- Spanish translations have been added, thanks to the contributions of @kcholoren.
- Russian translations have been added, thanks to the contributions of @iAHTOH.
- The dashboard now includes a system monitor for nodes.
- Use jsoniter for improving gin performance.
- Added custom reload/restart command for nginx. #140
- Refacted translation module #135
- Added http host config #157 by @quanbisen
- Add setting for test nginx config command #191
- Added casdoor sso support, thanks to the contributions of @Jraaay
- Refactor the project directory structure.
- Use tailwind css.
- Use eslint to check the code style of frontend.
- Use vue-tsc to check the types for frontend.
- Introducing a new management page for certificates, user can now view the latest renew logs of the certain certificate.
- Add manually renew button in certificate modify page for managed certificate (auto cert).
- Add notifications for renew certificates. #192
- Automatically detect the path of accress logs and error logs.
- Introducing the feature of issuing wildcard certificates on the Manage Certificate page. #190
- Add some Nginx Config Templates #233, thanks to the contributions of @sanvu88 .
- Support different key types for obtaining certificate, including RSA2048, RAS3072, RSA4096, EC256 and EC384 #264.
- Introducing logroate cron task for docker users #255.
- A system default acme user will be registered when nginx ui start. #237
- Add acme user management page. #319
- Persist the acme user to the database.
- Add a setting of renewal interval of certificates (7-21d). #343
- Add a option to select a acme user when obtaining a certificate. #319 #16
- SSL management support different types of certificates of a same doamin name. #309, #288
- Certificates obtained within 21 days are renewed by using the renewal api. For compatibility, the challenge resolver is still setup when renewing. #319
- Add trashs for soft deleted items in CURD pages.
- Use s6-overlay to manage the services in docker #308 .
- Users can use settings or environment variable to skip installation #357 .
- Users can use environment variable to predefine a admin user (only available in skip installation mode) #214 .
- Users can customize local environment name #313 .
- Users can use settings file to predefine nodes #169 .
- Hot reload cluster node settings from settings file #169.
- Introducing synchronize certificates to remote server #293, #363, #411.
- Enabled search box for Ace code edior #412.
- Add a white list of IPs, only those in list can access the Nginx UI.
- Add login failed ban IP list.
- Add 2FA authorization for login #344, #419.
- Add 2FA authorization for Web Terminal #394 .
Fixes:
- We've upgraded gonginx to address the configuration parsing issue #73.
- Fixed an issue where it was not possible to update settings value to an empty string.
- Resolved a location saving issue on the domain addition page #116.
- Site enabling/disabling is now aborted only when the log level is higher than warning.
- Fixed environment indicator display overlay and data obtaining issues #152 by @quanbisen
- Fixed env indicator background in dark mode.
- Terminal process not killed #181
- Added
gpt-4-1106-preview
model in ChatGPT settings. - Fixed change language cause unexpected redirect #189
- Fixed english grammar error in button text in sites management page. #200
- Fixed logs mnual link error. #201
- Revert enable site if you trying to enable a incorrect config of the site. #199
- Upgrade ant design vue verison from v3 to v4, thanks @funcfang
- Fixed FooterToolBar content was covered by Monica, a Chrome Extension. #195
- Delete server confirm modal not destroy #206
- clientMaxBodySize name is wrong. #216
- Fix error maybe occurs when enable TLS. #230
- Introducing streams management pages. #166
- Introducing upstream editor. #138
- Introducing upstream health check (supports TCP and Unix Socket).
- Fix a bug that may casue nginx-ui taking 100% CPU if the log file is not a regular file.
Enhances:
- The recovery function now can print call stack information.
- Added file info to config editor.
- Improved zh_TW locale. #148
- Enhance error handler for execShell.
- Enhance nginx control and status acquisition. #222
- Remove the vaildated rules for DNS Credentials
Docs:
- Traditional Chinese documentation has been added, thanks to @Hintay.
- We've added documentation for the syntax of the configuration template.
- We have updated the documentation for the nginx proxy example.
- Updated deprecated TLS directives #183
Others:
- Core upgrades will be performed as a dry run in demo mode.
- Updated zh_CN translations.
- Changed Token to NodeSecret #152
- Updated configurations of DNS challenges provider.