Only bind mysql to the localhost address

That way its not addressable from outside.
This commit is contained in:
Eli Ribble 2025-04-12 08:58:30 -07:00
parent 39d2eb3ab7
commit 01808ecf84
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@
services.mysql = {
enable = true;
package = pkgs.mariadb;
settings.mysqld.bind-address = "127.0.0.1";
};
services.nginx = {
enable = true;