summaryrefslogtreecommitdiff
path: root/nginx/nginx.conf
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2022-05-03 19:20:58 -0400
committerDaniel Micay <danielmicay@gmail.com>2022-05-03 19:20:58 -0400
commitd2fc01a1543009467c8d187bd6eda49d7bd14548 (patch)
tree769340cee5888edeb3529936fd1ab157fdcd2b85 /nginx/nginx.conf
parentbbe68dc7af5f479693465d2bdb498ae5a88bb9b2 (diff)
enable thread pool AIO support
Diffstat (limited to 'nginx/nginx.conf')
-rw-r--r--nginx/nginx.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 676621f3..e6854bf1 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -75,6 +75,9 @@ http {
if_modified_since before;
+ aio threads;
+ aio_write on;
+
map $uri $preload_resources_uri {
/index.html ", </phone.png>; rel=preload; as=image, <{{path|/js/redirect.js}}>; rel=modulepreload; integrity={{integrity|/js/redirect.js}}";
/faq.html ", <{{path|/js/redirect.js}}>; rel=modulepreload; integrity={{integrity|/js/redirect.js}}";