fix: automatically scale worker_processes

This commit is contained in:
Iain Learmonth 2025-05-03 15:49:06 +01:00
parent 049ad5a494
commit a227ac0ddd
3 changed files with 5 additions and 3 deletions

View file

@ -15,5 +15,5 @@ RUN openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 \
-out /etc/ssl/resty-auto-ssl-fallback.crt
COPY default.conf /etc/nginx/conf.d/default.conf
COPY env.main /etc/nginx/conf.d/env.main
COPY default.main /etc/nginx/conf.d/default.main
COPY lua/* /opt/sitelen-tu/

4
src/default.main Normal file
View file

@ -0,0 +1,4 @@
env JASIMA_MATOMO_HOST;
env JASIMA_PROXY_HOST;
worker_processes auto;

View file

@ -1,2 +0,0 @@
env JASIMA_MATOMO_HOST;
env JASIMA_PROXY_HOST;