File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ server {
4646
4747server {
4848 listen 8989;
49+ aio threads;
4950 ...
5051 ngx_http_c_func_link_lib "/path/to/your/libcfuntest.so"; # sharing data memory with server 1 if the path are same with server 1
5152 ...
@@ -60,6 +61,7 @@ server {
6061
6162server {
6263 listen 8999;
64+ aio threads;
6365 ...
6466 ngx_http_c_func_link_lib "/path/to/your/libcfuntest2.so"; # another application
6567 ...
@@ -75,6 +77,7 @@ server {
7577
7678server {
7779 listen 9888;
80+ aio threads;
7881 ...
7982 ## Download application from cloud repo e.g. ngx_http_c_func_download_and_link_lib <download_link> <dest_link_file>
8083 ngx_http_c_func_download_and_link_lib "http://abc.com/repos/libcfuntest.so" "/etc/nginx/libcfuntest3.so"
@@ -91,6 +94,7 @@ server {
9194
9295server {
9396 listen 9898;
97+ aio threads;
9498 ...
9599 ## Download application from cloud repo with extra header e.g. ngx_http_c_func_download_and_link_lib <download_link> <headers> <dest_link_file>
96100 ngx_http_c_func_download_and_link_lib "https://abc.com/repos/libcfuntest.so" "Accept-Language:en_US\r\nAuthorization:Bearer KA.eyJ2ZXJzaadlasdlaldhjHJ2h3ldjklsjaklcjkljasdklcmasaskdaJxdkL3ftjM\r\n" "/etc/nginx/libcfuntest4.so"
You can’t perform that action at this time.
0 commit comments