Commit Graph

10 Commits

Author SHA1 Message Date
Eli Ribble f9be9a1657 Add bzip2 in case PHP needs it. 2025-04-11 16:17:29 -07:00
Eli Ribble 225cb56f74 Add htop for monitoring the system.
Help me figure out that I was running out of RAM.
2025-04-11 16:02:33 -07:00
Eli Ribble 17cb144b5d Switch to actively-enabled swap.
I've already had some crashes while rebuilding the system due to
auto-of-memory errors.
2025-04-11 15:45:42 -07:00
Eli Ribble 484a4b2a4e Working website for AFAF.
I had to add various directives that I borrowed from a previous install.
It's essentially PHP black magic.

I also had to prevent NixOS from overwriting the permissions on the PHP
users home directory so that nginx would serve the static files as well.
2025-04-11 15:33:54 -07:00
Eli Ribble a24fae4dc8 Fix whitespace 2025-04-11 14:46:15 -07:00
Eli Ribble 36dda5e233 Add MySQL (MariaDB) 2025-04-11 14:46:03 -07:00
Eli Ribble 5b814fb064 Show PHP errors so we can figure out what's wrong 2025-04-11 11:16:52 -07:00
Eli Ribble 422aa2abb5 Get PHP working
I can do a basic phpinfo() with this.
2025-04-11 07:11:09 -07:00
Eli Ribble 484c34ef59 Get nginx up and the cert working.
I decided to remove the porkbun provider just to simplify things since
DNS validation incurs a much longer wait than HTTP validation. I also
removed the default address stuff since they would need a port and they
shouldn't be required - I pulled them from sovr which is doing more
exotic things with IPv6.

I also disabled systemd.network since I got a warning about networking
conflict.

I moved the firewall directive to the networking file.

At this point the system comes up and nginx is hosting a static page.
2025-04-10 17:49:34 -07:00
Eli Ribble eb61a1fb6e Initial config for AFAF server. 2025-04-10 16:48:42 -07:00