3wc
bcec18a66f
Further bag o' hacks for configurable SSL
2021-10-31 16:49:43 +02:00
decentral1se
216b077127
dont merge: heinous disabling of cert monitoring
2021-10-30 22:32:21 +02:00
Matthew Wild
93ca21daa6
cert-monitor: Reload nginx daily to update certs
2021-05-06 07:41:59 +01:00
Matthew Wild
394cb1c78d
Add health check routes for portal and prosody
2021-03-10 14:35:12 +00:00
Matthew Wild
89ffc081ad
Add route for /invites_bootstrap to Prosody
2021-03-09 16:35:49 +00:00
Kim Alvefur
60a29884f5
Advertise BOSH & WS endpoints via XEP-0156 HTTP method
...
Signed-off-by: Matthew Wild <mwild1@gmail.com>
2021-02-22 10:38:50 +00:00
Kim Alvefur
a118d53e0c
Enable WebSocket and BOSH passtrough
...
Signed-off-by: Matthew Wild <mwild1@gmail.com>
2021-02-22 10:38:36 +00:00
Matthew Wild
cc0aa1ff90
Support custom host for prosody/portal
2021-02-17 13:07:37 +00:00
Matthew Wild
d4e9efb758
Fix accidental hard-coded domain name, use variable instead
2021-02-02 16:46:09 +00:00
Matthew Wild
9c0de8c92c
Fix startup template config path and omission from Dockerfile
2021-02-02 16:10:36 +00:00
Matthew Wild
0d83ce2d93
Remove redundant comment
2021-02-02 12:30:29 +00:00
Matthew Wild
961fb9e1b8
Move HTTP upload limit to the correct location
2021-02-02 12:30:16 +00:00
Matthew Wild
e8236cbf77
Fix hard-coded port for HTTPS
2021-02-02 12:27:57 +00:00
Matthew Wild
e61b46cf94
Fix to show custom error page for unknown domains
2021-02-02 12:27:43 +00:00
Matthew Wild
7621eb0488
Allow up to 16MB for /upload endpoint (default was 1MB)
2021-02-02 11:46:20 +00:00
Matthew Wild
55354732ce
Improve handling of startup (pre-certs) and 404 on unknown domains
2021-02-02 11:46:20 +00:00
Matthew Wild
ba073262e7
Merge pull request #1 from horazont/feature/server-name-hash
...
Fix nginx not configuring on some domains
2021-02-01 17:03:36 +00:00
Jonas Schäfer
34b015b86e
Fix nginx not configuring on some domains
...
This fixes the following error:
```
nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
```
It occurs while reloading nginx after updating the certificates
if your domain name is strange enough I suppose. This causes
nginx to be stuck in "snikket is starting up" mode, because it
cannot reload its config. When restarting the container, it would
probably crash completely.
See-Also: https://stackoverflow.com/a/13906493/1248008
2021-01-31 16:03:38 +01:00
Matthew Wild
a51e613627
Fix to exclude acme-challenge from HTTPS redirect
2021-01-30 10:48:12 +00:00
Matthew Wild
d7a143ce5c
Add HTTP->HTTPS redirect after certs are available
2021-01-29 16:46:20 +00:00
Matthew Wild
18df7a72f4
+x render-template.sh
2021-01-29 16:39:38 +00:00
Matthew Wild
d43c6ee266
Add startup and error pages
2021-01-29 16:20:55 +00:00
Matthew Wild
5eb4301064
Set new port for web portal
2021-01-29 14:04:29 +00:00
Matthew Wild
c679c7441a
nginx: Remove routes that are now handled by portal
2021-01-28 09:32:25 +00:00
Matthew Wild
aa6c7e082f
Remove ipv6only, causes conflict
2021-01-22 23:31:34 +00:00
Matthew Wild
cde6424db3
Move /upload/ to the share subdomain
2021-01-22 23:00:18 +00:00
Matthew Wild
d0cbbc5af7
Hopefully final iteration of Prosody proxying
2021-01-22 22:59:59 +00:00
Matthew Wild
4904ecde84
Fix /share
2021-01-22 22:14:46 +00:00
Matthew Wild
1c883644f0
Further fixes for static files
2021-01-22 21:49:12 +00:00
Matthew Wild
1575e80c08
Fix path to static files
2021-01-22 21:17:51 +00:00
Matthew Wild
3bc4bdd513
Move snikket-logo.svg to snikket-logo-text.svg to avoid conflict with the icon-only logo in web-portal
2021-01-22 20:32:03 +00:00
Matthew Wild
e864869b82
Add and serve required libjs libraries at /share/
2021-01-22 17:03:16 +00:00
Matthew Wild
79baef9c9f
Commit static assets and license
2021-01-22 16:40:28 +00:00
Matthew Wild
6293b45fbb
Fix port substitution and add support for static files
2021-01-22 15:04:06 +00:00
Matthew Wild
ab87bc1144
Move Prosody URLs to /_/ and portal to /
2021-01-22 14:42:34 +00:00
Matthew Wild
b801942169
Add rule to forward to user portal
2021-01-22 13:02:39 +00:00
Matthew Wild
7e2cdb57b1
nginx: Add rule to pass through acme-challenge
2021-01-22 13:00:27 +00:00
Matthew Wild
4aae1a8851
Fix typo in variable name
2020-12-13 07:25:17 +00:00
Matthew Wild
fe8f57c01f
Add gettext-base package for envsubst
2020-12-13 07:06:35 +00:00
Matthew Wild
c3018b06cf
Honour SNIKKET_TWEAK_HTTP/S_PORT variables
2020-12-11 16:47:31 +00:00
Matthew Wild
d748e19538
Initial commit
2020-11-05 15:35:56 +00:00