nickl111 / beerlogger

Monitor fermentation activity with a Raspberry Pi Zero W and Tilt Hydrometer
MIT License
0 stars 0 forks source link

Switch to nginx #8

Closed nickl111 closed 6 years ago

nickl111 commented 6 years ago

Switch apache out for nginx. It's lighter.

nickl111 commented 6 years ago

nginx with php is a pita to configure and it means running two services instead of one.

Might be better just to put apache workers down to one. eg

StartServers             1
MinSpareServers          1
MaxSpareServers          4

in /etc/apache2/mods-enabled/mpm_prefork.conf