1 files changed, 0 insertions(+), 14 deletions(-)
configuration.nix-14| ... | ... | @@ -47,25 +47,11 @@ |
| 47 | 47 | # ''; |
| 48 | 48 | |
| 49 | 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 | 50 | pathfinder2e.duckdns.org { |
| 62 | 51 | # PROXY ALL REQUEST TO PORT 30000 |
| 63 | 52 | reverse_proxy localhost:30000 |
| 64 | 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 |