mirror of
https://github.com/Such-Software/adaptive-multi-protocol-gateway.git
synced 2026-10-17 07:31:32 +02:00
Generate daemon plan artifacts
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
[gateway]
|
||||
state_dir = "./.ampg/state"
|
||||
cache_dir = "./.ampg/cache"
|
||||
run_dir = "./.ampg/run"
|
||||
user = "ampg"
|
||||
|
||||
[[site]]
|
||||
id = "wownero_i2p_only"
|
||||
domain = "wownero.org"
|
||||
|
||||
[site.source]
|
||||
kind = "static-html"
|
||||
path = "../../wownero.org-website"
|
||||
canonical_url = "https://wownero.org"
|
||||
|
||||
[site.outputs]
|
||||
root = "../dist/wownero-i2p-only"
|
||||
plan_root = "../dist/ampg-plan"
|
||||
|
||||
[site.interactions]
|
||||
default_tier = "static"
|
||||
deny_routes = ["/admin/*", "/internal/*", "/webhooks/*"]
|
||||
|
||||
[site.protocols.i2p]
|
||||
enabled = true
|
||||
renderer = "privacy-html"
|
||||
daemon = "i2pd"
|
||||
daemon_policy = "auto"
|
||||
local_port = 18081
|
||||
keys_file = "wownero-web.dat"
|
||||
tunnel_name = "wownero-web"
|
||||
max_asset_bytes = 524288
|
||||
script_policy = "strip"
|
||||
@@ -15,6 +15,7 @@ canonical_url = "https://wownero.org"
|
||||
|
||||
[site.outputs]
|
||||
root = "../dist/wownero"
|
||||
plan_root = "../dist/ampg-plan"
|
||||
|
||||
[site.interactions]
|
||||
default_tier = "static"
|
||||
@@ -32,15 +33,21 @@ renderer = "privacy-html"
|
||||
daemon = "tor"
|
||||
daemon_policy = "auto"
|
||||
local_port = 18080
|
||||
hidden_service_dir = "/var/lib/ampg/tor/wownero"
|
||||
onion_location = "auto"
|
||||
max_asset_bytes = 1048576
|
||||
script_policy = "strip"
|
||||
|
||||
[site.protocols.i2p]
|
||||
enabled = false
|
||||
enabled = true
|
||||
renderer = "privacy-html"
|
||||
daemon = "i2pd"
|
||||
daemon_policy = "auto"
|
||||
local_port = 18081
|
||||
keys_file = "wownero-web.dat"
|
||||
tunnel_name = "wownero-web"
|
||||
max_asset_bytes = 1048576
|
||||
script_policy = "strip"
|
||||
|
||||
[site.protocols.gemini]
|
||||
enabled = false
|
||||
|
||||
Reference in New Issue
Block a user