Only bind mysql to the localhost address
That way its not addressable from outside.
This commit is contained in:
parent
39d2eb3ab7
commit
01808ecf84
|
@ -70,6 +70,7 @@
|
|||
services.mysql = {
|
||||
enable = true;
|
||||
package = pkgs.mariadb;
|
||||
settings.mysqld.bind-address = "127.0.0.1";
|
||||
};
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue