diff --git a/conf/server.yml b/conf/server.yml index cdade67..c47da2f 100644 --- a/conf/server.yml +++ b/conf/server.yml @@ -3,6 +3,9 @@ # Please refer to the documentation at https://ntfy.sh/docs/config/ for details. # All options also support underscores (_) instead of dashes (-) to comply with the YAML spec. +base-url: "https://__DOMAIN__" +listen-http: "127.0.0.1:__PORT__" + cache-file: __INSTALL_DIR__/data/cache.db cache-startup-queries: | pragma journal_mode = WAL; diff --git a/conf/systemd.service b/conf/systemd.service index 793ff90..6695ed8 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -3,9 +3,6 @@ Description=ntfy server After=network.target [Service] -Environment="NTFY_LISTEN_HTTP=localhost:__PORT__" -Environment="NTFY_BASE_URL=https://__DOMAIN__" -Environment="NTFY_BEHIND_PROXY=1" Environment="NTFY_CONFIG_FILE=__INSTALL_DIR__/server.yml" Type=simple