equal
deleted
inserted
replaced
56 # # balancing that does not terminate TLS, but sends an initial PROXY line |
56 # # balancing that does not terminate TLS, but sends an initial PROXY line |
57 # # in plaintext. |
57 # # in plaintext. |
58 # proxy: false |
58 # proxy: false |
59 |
59 |
60 # Example of a Unix domain socket for proxying: |
60 # Example of a Unix domain socket for proxying: |
61 "/var/ergo/socket": |
61 "{{ergo_run_dir}}/socket": |
62 |
62 |
63 # Example of a Tor listener: any connection that comes in on this listener will |
63 # Example of a Tor listener: any connection that comes in on this listener will |
64 # be considered a Tor connection. It is strongly recommended that this listener |
64 # be considered a Tor connection. It is strongly recommended that this listener |
65 # *not* be on a public interface --- it should be on 127.0.0.0/8 or unix domain: |
65 # *not* be on a public interface --- it should be on 127.0.0.0/8 or unix domain: |
66 # "/hidden_service_sockets/ergo_tor_sock": |
66 # "/hidden_service_sockets/ergo_tor_sock": |
286 # - "10.0.0.0/8" |
286 # - "10.0.0.0/8" |
287 |
287 |
288 # ergo will write files to disk under certain circumstances, e.g., |
288 # ergo will write files to disk under certain circumstances, e.g., |
289 # CPU profiling or data export. by default, these files will be written |
289 # CPU profiling or data export. by default, these files will be written |
290 # to the working directory. set this to customize: |
290 # to the working directory. set this to customize: |
291 output-path: "/var/ergo" |
291 output-path: "{{ergo_run_dir}}" |
292 |
292 |
293 # account options |
293 # account options |
294 accounts: |
294 accounts: |
295 # is account authentication enabled, i.e., can users log into existing accounts? |
295 # is account authentication enabled, i.e., can users log into existing accounts? |
296 authentication-enabled: true |
296 authentication-enabled: true |
683 # pprof-listener: "localhost:6060" |
683 # pprof-listener: "localhost:6060" |
684 |
684 |
685 # datastore configuration |
685 # datastore configuration |
686 datastore: |
686 datastore: |
687 # path to the datastore |
687 # path to the datastore |
688 path: "/var/ergo/ergo.db" |
688 path: "{{ergo_data_dir}}/ergo.db" |
689 |
689 |
690 # if the database schema requires an upgrade, `autoupgrade` will attempt to |
690 # if the database schema requires an upgrade, `autoupgrade` will attempt to |
691 # perform it automatically on startup. the database will be backed |
691 # perform it automatically on startup. the database will be backed |
692 # up, and if the upgrade fails, the original database will be restored. |
692 # up, and if the upgrade fails, the original database will be restored. |
693 autoupgrade: true |
693 autoupgrade: true |