Code for this server
Go to file
Kelvin Ly 74deb5f9a1 Hopefully get the main server to forward requests correctly, and make the helper scripts detect their directory to determine the right binary name 2019-07-18 23:11:12 -04:00
resume@ebda2c3802 Add resume and nav bar 2018-10-30 18:34:38 -04:00
static@806a2d9996 Update website files 2019-07-11 13:46:19 +00:00
.gitignore Hopefully get the main server to forward requests correctly, and make the helper scripts detect their directory to determine the right binary name 2019-07-18 23:11:12 -04:00
.gitmodules Add resume and nav bar 2018-10-30 18:34:38 -04:00
README.md Add README 2018-09-28 19:11:20 -04:00
bootstrap.sh Move to a different location 2019-07-11 14:01:40 +00:00
install.sh Fix port number for HTTPS 2018-09-28 23:05:17 +00:00
main-server.service Move to a different location 2019-07-11 14:01:40 +00:00
main.css Improve CSS a little bit, change pid and log file names 2019-07-19 01:36:35 +00:00
main.go Hopefully get the main server to forward requests correctly, and make the helper scripts detect their directory to determine the right binary name 2019-07-18 23:11:12 -04:00
restart-server.sh Hopefully get the main server to forward requests correctly, and make the helper scripts detect their directory to determine the right binary name 2019-07-18 23:11:12 -04:00
rules.v4 Fix port number for HTTPS 2018-09-28 23:05:17 +00:00
stop-server.sh Hopefully get the main server to forward requests correctly, and make the helper scripts detect their directory to determine the right binary name 2019-07-18 23:11:12 -04:00

README.md

A website

This is my personal website, feel free to steal the server and look at the code if there's anything useful there. There's not much to it, but it currently:

  • uses blackfriday/github_flavored_markdown to convert markdown into HTML
  • has a .service file that lets it run automatically on startup
  • daemonizes itself using go-daemon so you get nice log and pid files
  • has a set of iptables-persistent rules to avoid needing to run as root

TODOs

  • make a cronjob to automatically renew the certificate
  • add a header bar and make the footer look a little nicer
  • do cool stuff so I can post about it here I guess