mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
updates from yesterday
This commit is contained in:
parent
cb6ccba416
commit
833a84f4d2
2 changed files with 29 additions and 5 deletions
|
|
@ -2,10 +2,34 @@
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"public.gensokyo.zone" = {
|
"public.gensokyo.zone" = {
|
||||||
enableACME = true;
|
extraConfig = ''
|
||||||
forceSSL = true;
|
allow 103.21.244.0/22;
|
||||||
locations."/kat-is-a-cute-girl" = {
|
allow 103.22.200.0/22;
|
||||||
root = "/var/www/public";
|
allow 103.31.4.0/22;
|
||||||
|
allow 104.16.0.0/12;
|
||||||
|
allow 108.162.192.0/18;
|
||||||
|
allow 131.0.72.0/22;
|
||||||
|
allow 141.101.64.0/18;
|
||||||
|
allow 162.158.0.0/15;
|
||||||
|
allow 172.64.0.0/13;
|
||||||
|
allow 173.245.48.0/20;
|
||||||
|
allow 188.114.96.0/20;
|
||||||
|
allow 190.93.240.0/20;
|
||||||
|
allow 197.234.240.0/22;
|
||||||
|
allow 198.41.128.0/17;
|
||||||
|
|
||||||
|
# IPv6
|
||||||
|
allow 2400:cb00::/32;
|
||||||
|
allow 2405:b500::/32;
|
||||||
|
allow 2606:4700::/32;
|
||||||
|
allow 2803:f800::/32;
|
||||||
|
allow 2c0f:f248::/32;
|
||||||
|
allow 2a06:98c0::/29;
|
||||||
|
|
||||||
|
deny all;
|
||||||
|
'';
|
||||||
|
locations."/kat-is-a-cute-girl/" = {
|
||||||
|
alias = "/var/www/public/";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
autoindex on;
|
autoindex on;
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -117,9 +117,9 @@ _: let
|
||||||
"pinentry-mac"
|
"pinentry-mac"
|
||||||
"awscurl"
|
"awscurl"
|
||||||
"pandoc"
|
"pandoc"
|
||||||
|
"openjdk@17"
|
||||||
];
|
];
|
||||||
casks = [
|
casks = [
|
||||||
"temurin17"
|
|
||||||
"barrier"
|
"barrier"
|
||||||
"bitwarden"
|
"bitwarden"
|
||||||
"mullvadvpn"
|
"mullvadvpn"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue