fix: automatically scale worker_processes
This commit is contained in:
parent
049ad5a494
commit
a227ac0ddd
3 changed files with 5 additions and 3 deletions
|
@ -15,5 +15,5 @@ RUN openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 \
|
||||||
-out /etc/ssl/resty-auto-ssl-fallback.crt
|
-out /etc/ssl/resty-auto-ssl-fallback.crt
|
||||||
|
|
||||||
COPY default.conf /etc/nginx/conf.d/default.conf
|
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/
|
COPY lua/* /opt/sitelen-tu/
|
||||||
|
|
4
src/default.main
Normal file
4
src/default.main
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
env JASIMA_MATOMO_HOST;
|
||||||
|
env JASIMA_PROXY_HOST;
|
||||||
|
|
||||||
|
worker_processes auto;
|
|
@ -1,2 +0,0 @@
|
||||||
env JASIMA_MATOMO_HOST;
|
|
||||||
env JASIMA_PROXY_HOST;
|
|
Loading…
Add table
Add a link
Reference in a new issue