1 files changed, 0 insertions(+), 14 deletions(-)
configuration.nix-14| ... | @@ -47,25 +47,11 @@ | ... | @@ -47,25 +47,11 @@ |
| 47 | # ''; | 47 | # ''; |
| 48 | 48 | ||
| 49 | extraConfig = '' | 49 | extraConfig = '' |
| 50 | # This replaces the existing content in /etc/caddy/Caddyfile | ||
| 51 | |||
| 52 | # A CONFIG SECTION FOR YOUR IP AND HOSTNAME | ||
| 53 | |||
| 54 | 10.154.1.105 { | ||
| 55 | # PROXY ALL REQUEST TO PORT 30000 | ||
| 56 | tls internal | ||
| 57 | reverse_proxy localhost:30000 | ||
| 58 | encode zstd gzip | ||
| 59 | } | ||
| 60 | |||
| 61 | pathfinder2e.duckdns.org { | 50 | pathfinder2e.duckdns.org { |
| 62 | # PROXY ALL REQUEST TO PORT 30000 | 51 | # PROXY ALL REQUEST TO PORT 30000 |
| 63 | reverse_proxy localhost:30000 | 52 | reverse_proxy localhost:30000 |
| 64 | encode zstd gzip | 53 | encode zstd gzip |
| 65 | } | 54 | } |
| 66 | |||
| 67 | # Refer to the Caddy docs for more information: | ||
| 68 | # https://caddyserver.com/docs/caddyfile | ||
| 69 | ''; | 55 | ''; |
| 70 | }; | 56 | }; |
| 71 | 57 |