Skip to content

Commit

Permalink
morak: disable serving sumnerevans.com
Browse files Browse the repository at this point in the history
It's now served by GitHub Pages

Signed-off-by: Sumner Evans <me@sumnerevans.com>
  • Loading branch information
sumnerevans committed Feb 9, 2024
1 parent 86ce5ec commit 2fdc570
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions host-configurations/morak.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,43 +61,14 @@ in {
# Enable fail2ban
services.fail2ban.enable = true;

############
# Websites #
############
services.nginx.enable = true;
services.nginx.websites = [{
# sumnerevans.com
hostname = "sumnerevans.com";
extraLocations = {
"/teaching/csci400-s19" = {
root = "/var/www";
priority = 0;
extraConfig = ''
access_log /var/log/nginx/sumnerevans.com.access.log;
autoindex on;
'';
};
};
excludeTerms = [
"/.well-known/"
"/dark-theme.min.js"
"/favicon.ico"
"/js/isso.min.js"
"/profile.jpg"
"/robots.txt"
"/style.css"
"/teaching/csci564-s21/_static/"
"/teaching/csci400-s19/_static/"
];
}];

############
# Services #
############
services.airsonic.enable = true;
services.grafana.enable = true;
services.isso.enable = true;
services.logrotate.enable = true;
services.nginx.enable = true;
services.syncthing.enable = true;
services.vaultwarden.enable = true;
services.xandikos.enable = true;
Expand Down

0 comments on commit 2fdc570

Please sign in to comment.