Admin settings
Admin → Settings lists the server's settings in sections, each with what it is set to now. A section opens as a page of its own with one Save at the foot, and what you save applies at once, without a restart. Only admins see these pages.
Each setting below says what it does, what it is when nobody has changed it, what it may be set to, and what happens to things that are already there when you change it.
Settings fixed when Skirl was started#
Four settings can also be given when Skirl starts, as a command-line flag or an environment variable. One given that way wins over what is saved here, and its page shows it as fixed, saying where it was given, for example "Set on the command line (--base-url); change it there and restart Skirl." or "Set with SKIRL_BASE_URL in Skirl's environment (a .env file, or the container's or service's settings); change it there and restart Skirl."
| Setting | Flag | Environment variable |
|---|---|---|
| Public address | --base-url |
SKIRL_BASE_URL |
| Skirl is behind a reverse proxy | --behind-proxy |
SKIRL_BEHIND_PROXY |
| Trusted proxy addresses | --trusted-proxies |
SKIRL_TRUSTED_PROXIES |
| Rate limits, turned off (all but failed sign-ins) | --no-rate-limit |
SKIRL_NO_RATE_LIMIT |
A fixed setting cannot be saved here. What was saved before stays in the database and applies again once Skirl is started without the flag or variable. Every other setting on these pages is changed here only. All the flags and variables: Configuration variables.
New topics and people#
What new topics and new people get unless told otherwise. Save says "Saved. Applies from now on.": nothing that exists already changes.
Keep messages (days)#
How many days a new topic keeps its messages. 30 unless changed; 1 to 3650.
It applies to every topic made from now on: by sending to a new name, from Topics or Connect a system, and from Admin → Topics → New topic when its Keep messages (days) is left empty. Topics that exist keep their own number; change one on that topic's Settings tab (How long messages are kept).
Raise it when people look back further than a month; lower it to keep the database small.
Without signing in#
Who may read and send on a new topic without signing in: Private unless changed, or Anyone can read, Anyone can send, Public (Who can see a topic).
It applies to topics made from now on, as above; topics that exist keep theirs. Leave it on Private unless nearly every topic you make should be open: anyone who knows an open topic's address can use it.
New people may create topics#
Whether May create topics starts ticked when you add a person in Admin → People, and whether a person added with user add, the command on the server, may create topics (its --can-create-topics=true or =false decides instead). On unless changed.
People who already have an account keep what they have; change it for one person in their panel (Editing a person). Admins may always create topics.
Attachments#
Files sent with messages, kept in Skirl's data directory. The sizes are in MB and GB (1 GB is 1024 MB); a part of one, such as 0.5, is fine. Save attachments says "Saved. In force now." How sending a file works: Attachments.
Largest file#
The biggest file one message may carry. 15 MB unless changed; any size above 0.
A bigger upload is refused with 413 "attachment too large, or bandwidth limit reached" (the app says "The file is too large, or the server has no room for it now."). Files already stored stay, even ones bigger than a new, lower limit.
Files per sender#
How much one sender may keep at a time: one person signed in (all their tokens together), or one address signed out. 100 MB unless changed; any size above 0.
Only files that have not expired count. A sender at the limit is refused, with the same 413, until enough of their files expire. Lowering it removes nothing. The files of a person who was deleted stay until they expire and count towards nobody's limit, only towards All files on the server (Deleting a person).
All files on the server#
The most all files together may take. 5 GB unless changed; any size above 0.
When it is full, every upload is refused, with the same 413, until old files expire. Lowering it removes nothing. Keep it below the free space on the data directory's disk.
Downloads per reader per day#
How much one address may download a day, counted from midnight UTC. 500 MB unless changed; any size above 0.
It counts every download from an address, signed in or not, pictures shown in messages included, because a file's link is opened without signing in. At the limit Skirl answers 429 "daily bandwidth reached" (the app says "You have downloaded as much as a day allows. Try again tomorrow.") until midnight UTC. Behind a proxy Skirl does not trust, every reader seems to come from the proxy's address and they share one day's allowance: Skirl is behind a reverse proxy.
Keep files for#
How long a file is kept after it was sent, in hours. 168 (7 days) unless changed; 1 to 87600 whole hours. A file is never kept longer than its topic keeps the message.
A file's end is fixed when it is sent, so a new number applies to files sent from now on. When a file's time is up it is removed; the message stays and shows "No longer kept" where the file was.
Scheduled delivery#
Longest delay#
How far ahead a message may be sent for later, in hours. 72 (3 days, as ntfy allows) unless changed; 1 to 720 whole hours. Save says "Saved. In force now."
A message asked for later than this is refused (the app says "That is too far ahead for this server."). Messages already waiting keep their time when you lower it. The earliest is always 10 seconds from now. How to send for later: Scheduled delivery.
Pictures from other sites#
Load images from other sites#
Whether readers' browsers load the icons and pictures a publisher links to on other sites. Off unless changed.
- Off: a publisher's icon from another site is not shown (the opened message has a Publisher icon link instead), and a picture or Markdown image from another site is a link to open.
- On: the reader's browser loads them over HTTPS (never plain HTTP). Skirl itself never fetches them, but the other site sees each reader's address and when they looked.
Files sent to Skirl itself always show. Save says "Saved. Pages show it from their next load.": a page already open keeps what it had until it is reloaded.
Rate limits#
How many requests, open subscriptions, new topics and failed sign-ins each sender is allowed. What each one means, with examples: Rate limits. Save limits says "Saved. In force now."
When you save, every sender's allowance starts full under the new numbers; subscriptions already open stay open and count against the new limits, and failed sign-ins already counted still count.
A number is a whole number, 0 or more. A time is written like 5s, 500ms, 10m or 1h. In any of them, 0 turns that limit off.
When Skirl was started with --no-rate-limit (or SKIRL_NO_RATE_LIMIT), the list says Off and the page says "Turned off when Skirl was started." with where it was set; the fields cannot be changed until Skirl is started without it: What turning them off does.
Requests in a burst, signed out#
How many requests one address may make at once without signing in. 60 unless changed. Requests.
One more request every, signed out#
How fast that allowance fills up again: one request back every 5s unless changed. Requests.
Open subscriptions, signed out#
How many streams one address may hold open without signing in. 30 unless changed. Subscriptions.
Requests in a burst, signed in#
How many requests one person may make at once, all their tokens, scripts and browser tabs together. 600 unless changed. Requests.
One more request every, signed in#
One request back every 500ms unless changed. Requests.
Open subscriptions, signed in#
How many streams one person may hold open. 300 unless changed. Subscriptions.
New topics in a burst#
How many topics one person may make at once. 100 unless changed. New topics.
One more new topic every#
One new topic back every 1m0s (a minute) unless changed. New topics.
Failed sign-ins before a pause#
How many bad tokens one address may send before its tokens are paused, and how many wrong passwords one user name may get from one address before that name's password is paused there. 10 unless changed. Bad tokens never pause a password, and one person's wrong passwords never pause another's: Failed sign-ins.
Failed sign-ins counted over#
How long a pause lasts, counted from the first failure of its count. 10m0s (10 minutes) unless changed. Failed sign-ins.
Addresses without limits#
Addresses and CIDRs, separated by commas, that no rate limit applies to except failed sign-ins. Empty unless changed. Addresses without limits.
The public address and the proxy#
These three are on Admin → Diagnostics, under Address and proxy, next to the checks that show whether people can reach Skirl; Admin → Settings → The public address and the proxy goes there. The setup wizard sets them too, and Run setup again opens it at the address: The setup wizard. After you save one, the server checks run again.
Public address#
The address people use to reach Skirl, such as https://notify.example.com. None unless set; the setup wizard suggests the address your browser opened it at.
Skirl uses it in each sender's steps under Connect a system and Send to this topic, in the links to files that scripts and ntfy's apps get with messages (old messages too), and in the phone install link and QR code. Without one, the steps and file links use the address the page or request came to, and there is no QR code.
Write https:// and the host name, with a port only if it is not the usual one, and no path (http:// is taken too, for a server used only on your own network). Save address. Anything else is refused: "the public address must be http:// or https:// with a host, and no path, user info or query".
Skirl is behind a reverse proxy#
The tick box Skirl is behind a reverse proxy: believe its forwarded headers. Off unless changed.
On, Skirl believes the headers a proxy adds (X-Forwarded-For, X-Forwarded-Proto and X-Forwarded-Host), but only on connections that come from a trusted proxy address. Then:
- each visitor's own address counts for rate limits, failed sign-ins and download allowances, instead of the proxy's for everyone;
- Skirl knows the visitor uses HTTPS, so sign-in cookies are secure and browsers may turn notifications on.
Turn it on when Skirl sits behind nginx, Caddy, Traefik, a Cloudflare Tunnel or any other proxy: the setup wizard's Trust this proxy does it for you. Leave it off when people reach Skirl directly. Save proxy settings says "Saved; it applies to the next request."
Turning it off signs people out#
Over HTTPS through a trusted proxy, the sign-in cookie is a secure one with another name. Turn proxy mode off, or stop trusting the proxy's address, and Skirl no longer sees HTTPS there, looks for the other cookie, and does not find it: everyone who uses Skirl over HTTPS through the proxy is signed out, on every browser and phone, and has to sign in again. Only the browser you save in stays signed in. Turning it on, or trusting more addresses, signs nobody out.
So Save proxy settings asks first when the change turns proxy mode off or leaves an address no longer trusted. It says how many people are signed in now, such as "2 people are signed in now. Turning proxy mode off signs out everyone who uses Skirl over HTTPS through the proxy: they will have to sign in again, on every browser and phone. This browser stays signed in." Sign them out and save saves; Cancel leaves the settings as they were. Skirl cannot tell which of them came through the proxy, so the number is everyone signed in, you included.
Trusted proxy addresses#
The proxies whose headers Skirl believes, one address or CIDR per line, at most 64. Unless changed: this computer and the private networks (127.0.0.0/8, ::1, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 and fc00::/7). It matters only while Skirl is behind a reverse proxy is on.
A visitor who sends the headers themselves gains nothing: they count only when the connection comes from one of these addresses. Anything at a trusted address can claim to be any visitor, so trusting a public address needs a second step: the page says "… is a public address. Trust it only if it is your own proxy. Save again to confirm." and Trust it and save confirms. Trust a public address only for your own proxy, such as Cloudflare's. Taking an address off the list signs out everyone who comes through it over HTTPS, so that asks first too (Turning it off signs people out).