Skip to content

v2.0.0-beta.40

Compare
Choose a tag to compare
@0xJacky 0xJacky released this 16 Nov 07:29
· 8 commits to dev since this release
e8a48d2

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 feedback, suggestions, or bug reports on Github issues.

Thank you to all of the beta testers as we approach rc1.

Change vs v2.0.0-beta.39

  1. Fixed config not synced to remote nodes when added.
  2. Enhanced server and node analytics.
  3. Removed "uniqueIndex" constraint in site #673 .
  4. Enhanced Nginx Log viewer, do not seek the file if its size is 0 #674 .
  5. Fixed config sync issue #685.
  6. Added SSE notify.
  7. Limited the max length of the user's password to 20 chars #703.
  8. Fixed invalid sorters #712.
  9. Fixed failed to create config #720, #724.
  10. Supported risc-v and mips architecture, thanks to @Hintay .
  11. Auto save certificate before renewing #723.
  12. The node selector is now using SSE to update the status of nodes.
  13. Fixed the key type of auto-cert is not user specified.
  14. Fixed certificate will be duplicated if the user renews it manually.
  15. Fixed failed to issue cert after switching mode from advanced to basic #704 .
  16. Fixed collapse header of LocationEditor overflow.

Breaking Changes:

  1. Starting from v2.0.0-beta.37, we introduced a new version of the structure of the settings file(v2). When you upgrade to the latest version, it will automatically perform the migration process. Please make sure that the Nginx UI in your server has permission to modify the config file itself. Please check the documentation for more details: https://nginxui.com/.
  2. Starting from v2.0.0-beta.36, you must specify the directories where the logs are stored. Only logs within these directories can be viewed online. Check this documentation for more information: https://nginxui.com/guide/config-nginx.html#logdirwhitelist.
  3. The CasdoorSettings.Certificate setting has been deprecated and replaced by CasdoorSettings.CertificatePath, which refers to the path of the certificate file.
  4. 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
  5. The nginx_log section in the configuration file has been renamed to nginx.
    NginxConfigDir and NginxPIDPath in the server section have been renamed to ConfigDir and PIDPath respectively, and both have been moved into the nginx section.
  6. The ReloadCmd and RestartCmd have been added in the nginx section to configure custom commands for reloading/restarting Nginx.
  7. 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 add access_log /dev/stdout and error_log /dev/stderr in your nginx.conf. For users upgrading from older versions who do not need this feature, check if your nginx.conf contains access_log /var/logs/nginx/access.local.log and error_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:

What's new

  1. We're proud to have registered the nginxui.com domain 🎉.
  2. We have launched a new documentation site, please check nginxui.com.
  3. Node management functionality has been introduced (#70).
  4. Duplicate site function now can duplicate config to a remote server.
  5. French translations have been added, thanks to the contributions of @skrilax91.
  6. Added border-radius to Ace Editor and terminal, we hope you will like this change :).
  7. You can now deploy site configuration to a remote server.
  8. Spanish translations have been added, thanks to the contributions of @kcholoren.
  9. Russian translations have been added, thanks to the contributions of @iAHTOH.
  10. The dashboard now includes a system monitor for nodes.
  11. Use jsoniter for improving gin performance.
  12. Added custom reload/restart command for nginx. #140
  13. Refacted translation module #135
  14. Added HTTP host config #157 by @quanbisen
  15. Add setting for test nginx config command #191
  16. Added casdoor sso support, thanks to the contributions of @Jraaay
  17. Refactor the project directory structure.
  18. Use tailwind css.
  19. Use eslint to check the code style of frontend.
  20. Use vue-tsc to check the types for frontend.
  21. Introducing a new management page for certificates, users can now view the latest renewal logs of certain certificates.
  22. Add a manually renew button in the certificate modify page for the managed certificate (auto cert).
  23. Add notifications for renewing certificates. #192
  24. Automatically detect the path of access logs and error logs.
  25. Introducing the feature of issuing wildcard certificates on the Manage Certificate page. #190
  26. Add some Nginx Config Templates #233, thanks to the contributions of @sanvu88 .
  27. Support different key types for obtaining certificates, including RSA2048, RAS3072, RSA4096, EC256 and EC384 #264.
  28. Introducing logroate cron task for docker users #255.
  29. A system default acme user will be registered when nginx ui starts. #237
  30. Add Acme user management page. #319
  31. Persist the Acme user to the database.
  32. Add a setting of renewal interval of certificates (7-21d). #343
  33. Add an option to select an Acme user when obtaining a certificate. #319 #16
  34. SSL management supports different types of certificates of the same domain name. #309, #288
  35. Certificates obtained within 21 days are renewed by using the renewal API. For compatibility, the challenge resolver is still set up when renewing. #319
  36. Add trash for soft deleted items in CURD pages.
  37. Use s6-overlay to manage the services in docker #308 .
  38. Users can use settings or environment variables to skip installation #357 .
  39. Users can use environment variables to predefine an admin user (only available in skip installation mode) #214 .
  40. Users can customize the name of local environment #313 .
  41. Users can use the settings file to predefine nodes #169 .
  42. Hot reload cluster node settings from settings file #169.
  43. Introducing synchronize certificates to remote server #293, #363, #411.
  44. Enabled search box for Ace code editor #412.
  45. Add a white list of IPs, only those in the list can access the Nginx UI.
  46. Add login failed ban IP list.
  47. Add 2FA authorization for login #344, #419.
  48. Add 2FA authorization for Web Terminal #394 .
  49. Hide some parts of Jwt Secret and Node Secret on the settings page.
  50. The selector of the changed certificate now supports selecting multiple certificates #437 .
  51. Certificate(s) Info now supports display info of multiple certificates.
  52. The info on changed certificates in the server tab will be shown. #386
  53. Better breadcrumbs #258.
  54. Add OCSP Must Staple options in AutoCert #292.
  55. Add LEGO_DISABLE_CNAME_SUPPORT options in AutoCert #407.
  56. Added the capability to create new configuration files online.
  57. Introduced a feature to rename configuration files.
  58. Better breadcrumbs for configurations list and editor.
  59. Add filename filter for configurations list.
  60. Added the capability to create a new folder in the configurations list.
  61. Added the capability to rename folders or files in the configurations list.
  62. Implemented deployment of configuration files to remote nodes.
  63. Update translations of Korean, thanks for @jkh0kr .
  64. Added Portuguese translations—special thanks to @mksarifo.
  65. Support Webauthn passkey as a login and 2FA method.
  66. Added site category. #657
  67. Added status filter for site list. #633
  68. Added selection box for Nginx Config Template.
  69. Added scheme and host fields for the reverse proxy template. #608

Fixes:

  1. We've upgraded gonginx to address the configuration parsing issue #73.
  2. Fixed an issue where it was not possible to update the settings value to an empty string.
  3. Resolved a location-saving issue on the domain addition page #116.
  4. Site enabling/disabling is now aborted only when the log level is higher than warning.
  5. Fixed environment indicator display overlay and data obtaining issues #152 by @quanbisen
  6. Fixed env indicator background in dark mode.
  7. Terminal process not killed #181
  8. Added gpt-4-1106-preview model in ChatGPT settings.
  9. Fixed change language cause unexpected redirect #189
  10. Fixed English grammar error in button text on site management page. #200
  11. Fixed logs mnual link error. #201
  12. Revert enable site if you trying to enable an incorrect config of the site. #199
  13. Upgrade ant design vue version from v3 to v4, thanks @funcfang
  14. Fixed FooterToolBar content was covered by Monica, a Chrome Extension. #195
  15. Delete server confirm modal not destroy #206
  16. clientMaxBodySize name is wrong. #216
  17. Fix errors may occur when enabling TLS. #230
  18. Introducing stream management pages. #166
  19. Introducing upstream editor. #138
  20. Introducing upstream health check (supports TCP and Unix Socket).
  21. Fix a bug that may cause nginx-ui to take 100% CPU if the log file is not a regular file.
  22. Fix a bug of the loading indicator constantly spinning in the table of configurations management page, if the directory has no file.

Enhances:

  1. The recovery function now can print call stack information.
  2. Added file info to config editor.
  3. Improved zh_TW locale. #148
  4. Enhance the error handler for execShell.
  5. Enhance nginx control and status acquisition. #222
  6. Remove the validated rules for DNS Credentials

Docs:

  1. Traditional Chinese documentation has been added, thanks to @Hintay.
  2. We've added documentation for the syntax of the configuration template.
  3. We have updated the documentation for the Nginx proxy example.
  4. Updated deprecated TLS directives #183

Others:

  1. Core upgrades will be performed as a dry run in demo mode.
  2. Updated zh_CN translations.
  3. Changed Token to NodeSecret #152
  4. Updated configurations of DNS challenges provider.