1. View existing modules /usr/local/nginx/sbin/nginx -V Here I installed and configured SSL and wanted to add the FastDFS module Copy the red area and write it down in a small notebook ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --add-module=/usr/local/fastdfs-nginx-module/src/ 2. Recompile Nginx Re-execute the above in this location: Don't make install, otherwise it will be overwritten. make //Don't make install, otherwise it will be overwritten Back up first, a spare tire is still needed /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx.bak Copy the compiled files to your original sbin directory cp ./objs/nginx /usr/local/nginx/sbin/ OK The new module is installed. How to use it is the same as before, just add a new module This is the end of this article about Nginx compiled nginx-add new module. For more related nginx compilation and adding new modules, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Using vue3 to implement counting function component encapsulation example
>>: Solutions to Mysql index performance optimization problems
1. The role of brackets 1.1 Square brackets [ ] W...
premise In complex scenarios, a lot of data needs...
Table of contents 1. Routing animation 2. Group Q...
Since I found that the push image always timed ou...
Table of contents 1. Traversal Class 1. forEach 2...
Table of contents 1. Trigger Solution 2. Partitio...
The div+css layout to achieve 2-end alignment is ...
This is to commemorate the 4 pitfalls I stepped o...
Jenkins is an open source software project. It is...
The logs in MySQL include: error log, binary log,...
1: Understand the meaning of address rewriting an...
This article shares the installation and configur...
Table of contents Preface 1. Split a string 2. JS...
Table of contents Docker version Install Docker E...
<br />Although there are many web page creat...