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
Since the standard ab only supports stress testin...
This article shares the installation tutorial of ...
Yesterday I wanted to use a:visited to change the...
Table of contents Project Background start Create...
The animation part of CSS will be blocked by JS, ...
1. The ENV instruction in the Dockerfile is used ...
Project Purpose Migrate the data in MySQL 5.5.53 ...
Problem Description In our projects, horizontal t...
Table of contents Preface 1. Custom focus command...
There are caches everywhere inside MySQL. When I ...
Sprite Cow download CSS Lint download Prefixr dow...
1. Storage Engine In the last section, we mention...
I used vue and bootstrap to make a relatively sim...
Nginx load balancing server: IP: 192.168.0.4 (Ngi...
In fact, it is not difficult to build an Apache c...