OpenResty Settings
The toolbar above the website list can be used to view and configure OpenResty.
1 Stop / Start / Restart¶
You can manage the OpenResty application by clicking the Stop, Start, or Restart buttons.
2 Reload¶
Allows you to quickly apply configuration changes without downtime, ensuring high availability of website services.
3 Settings¶
3.1 Current Status¶
View the current status of the website, including active connections, total connections, total handshakes, total requests, number of requests, number of responses, and resident processes.
3.2 Configuration Modification¶
- Configure OpenResty's configuration files
- Click the Default Configuration button to restore the configuration file to its default state
3.3 Performance Tuning¶
Adjust relevant configuration parameters of OpenResty.
3.4 Logs¶
View OpenResty logs, with support for real-time tracking, downloading, clearing, and filtering logs by specified time range and number of lines.
3.5 Modules¶
Manage OpenResty modules, including:
- View the list of installed modules
- Enable/disable specified modules
- Create, edit, and delete modules
After changing module configurations, click the Build button to apply the settings. OpenResty will automatically restart after a successful build.
If building custom modules, place the module's source package in the directory /opt/1panel/apps/openresty/openresty/build/tmp (/opt is the installation directory of 1Panel).
The parameter format is similar to --add-module=/tmp/nginx-rtmp-module (must use /tmp).
Example script: unzip -o /tmp/nginx-rtmp-module.zip -d /tmp (must use /tmp).
Take 1Panel Further
Running 1Panel OSS? Pro Edition adds WAF protection, unlimited AI agents, multi-node management, and priority support — starting at $80/year.






