diff options
| author | yalh76 <yalh@yahoo.com> | 2019-03-23 02:58:59 +0100 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2019-03-23 02:58:59 +0100 |
| commit | d1a1e67008d0838257528344d56b285ad7a39f34 (patch) | |
| tree | 8756e9dddda32f92977de63513a99889b248f375 /conf/.env.production.sample | |
| parent | 652d6f6c67c200fc22bf03efed0174ebc4f38d29 (diff) | |
| download | mastodon_ynh-d1a1e67008d0838257528344d56b285ad7a39f34.tar.gz mastodon_ynh-d1a1e67008d0838257528344d56b285ad7a39f34.tar.bz2 mastodon_ynh-d1a1e67008d0838257528344d56b285ad7a39f34.zip | |
fix key for upgrade
Diffstat (limited to 'conf/.env.production.sample')
| -rw-r--r-- | conf/.env.production.sample | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/conf/.env.production.sample b/conf/.env.production.sample index 68249e1..6606352 100644 --- a/conf/.env.production.sample +++ b/conf/.env.production.sample @@ -36,6 +36,17 @@ LOCAL_DOMAIN=__DOMAIN__ SECRET_KEY_BASE=__SECRET_KEY_BASE__ OTP_SECRET=__OTP_SECRET__ +# VAPID keys (used for push notifications +# You can generate the keys using the following command (first is the private key, second is the public one) +# You should only generate this once per instance. If you later decide to change it, all push subscription will +# be invalidated, requiring the users to access the website again to resubscribe. +# +# Generate with `RAILS_ENV=production bundle exec rake mastodon:webpush:generate_vapid_key` task (`docker-compose run --rm web rake mastodon:webpush:generate_vapid_key` if you use docker compose) +# +# For more information visit https://rossta.net/blog/using-the-web-push-api-with-vapid.html +VAPID_PRIVATE_KEY=__VAPID_PRIVATE_KEY__ +VAPID_PUBLIC_KEY=__VAPID_PUBLIC_KEY__ + # Registrations # Single user mode will disable registrations and redirect frontpage to the first profile # SINGLE_USER_MODE=true @@ -219,13 +230,3 @@ LDAP_UID=uid # http_proxy=http://gateway.local:8118 # Access control for hidden service. # ALLOW_ACCESS_TO_HIDDEN_SERVICE=true - - -# VAPID keys (used for push notifications -# You can generate the keys using the following command (first is the private key, second is the public one) -# You should only generate this once per instance. If you later decide to change it, all push subscription will -# be invalidated, requiring the users to access the website again to resubscribe. -# -# Generate with `RAILS_ENV=production bundle exec rake mastodon:webpush:generate_vapid_key` task (`docker-compose run --rm web rake mastodon:webpush:generate_vapid_key` if you use docker compose) -# -# For more information visit https://rossta.net/blog/using-the-web-push-api-with-vapid.html |
