Commit Graph

11 Commits

Author SHA1 Message Date
Laurence c68b2b5a72 Add trusted proxies property and find a solution to unix sockets 2024-02-04 10:33:25 +01:00
Laurence d0b3271880 feat: listen on unix sockets
With this you can configure a unix socket in server.listenaddr and
server.ssl.listenaddr by prefixing the socket path with unix:

Co-authored-by: Jannis Mattheis <contact@jmattheis.de>
2024-01-20 10:17:51 +01:00
Jannis Mattheis 3cf47c5ee0 Fix keep alive setting comment
See https://github.com/gotify/server/issues/343#issuecomment-914560534
2021-09-07 21:29:11 +02:00
pigpig c172590b92 Add registration
Can be enabled via the registration config flag. (disabled per default)

Fixes gotify/server#395

Co-authored-by: pigpig <pigpig@pig.pig>
Co-authored-by: Karmanyaah Malhotra <32671690+karmanyaahm@users.noreply.github.com>
Co-authored-by: Jannis Mattheis <contact@jmattheis.de>
2021-08-04 19:39:43 +02:00
Jannis Mattheis de226ce0cf Make ws ping interval configurable 2020-09-10 16:22:04 +00:00
Jannis Mattheis 909eeff406 Make keepalive period configurable 2020-09-10 16:22:04 +00:00
Stewart Thomson 3f04d50088
Allow multiple CORS origins 2020-04-26 11:27:24 +00:00
Jannis Mattheis ad157a138b
Comment out non default values in example file (#205)
I've seen some tutorials in where the example config is copied without
any changes. Settings like headers should only be set when needed.
2019-07-18 19:53:05 +02:00
饺子w d82a78b8aa Listen on custom address (#140)
Co-Authored-By: eternal-flame-AD <ef@eternalflame.info>
2019-03-08 09:40:26 +01:00
eternal-flame-AD e5b24f4c92 Add plugin feature
Fixed database migration
Added a plugin system based on the go plugin package
2019-02-09 12:52:01 +01:00
Mathias 1157bbd789 add example configuration file 2019-01-03 12:38:48 +01:00