Skip to content

Commit

Permalink
[nyarlathotep] Add rpg-tools subdomain
Browse files Browse the repository at this point in the history
This just serves a compiled next.js asset bundle.
  • Loading branch information
barrucadu committed May 19, 2024
1 parent 898ca08 commit 5ebbc03
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hosts/nyarlathotep/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,14 @@ in
reverse_proxy http://localhost:${toString config.services.grafana.settings.server.http_port}
'';

services.caddy.virtualHosts."rpg-tools.nyarlathotep.lan:80".extraConfig = ''
import restrict_vlan
encode gzip
file_server {
root ${httpdir}/rpg-tools.nyarlathotep.lan
}
'';

services.caddy.virtualHosts."prometheus.nyarlathotep.lan:80".extraConfig = ''
import restrict_vlan
encode gzip
Expand Down

0 comments on commit 5ebbc03

Please sign in to comment.