Vincent Breitmoser
d3e1fc0ae9
split up nginx files
2019-02-27 11:39:38 +01:00
Justus Winter
449d1ec64f
Avoid regex match.
2019-02-26 14:32:11 +01:00
Justus Winter
ba4062f231
Add debugging aid.
2019-02-26 13:57:41 +01:00
Justus Winter
6e84a51310
Pass failing /by-* queries to hagrid for normalization.
2019-02-26 13:56:47 +01:00
Justus Winter
7123c884bb
Case-sensitive matching on HKP requests.
2019-02-26 13:52:58 +01:00
Justus Winter
425bc3d609
Bind to all interfaces.
2019-02-26 13:15:21 +01:00
Justus Winter
547c50c67e
Cache static sites generated by hagrid.
2019-02-26 13:15:21 +01:00
Justus Winter
b332fae02a
Add a location for /about.
2019-02-26 13:15:21 +01:00
Justus Winter
4c10cbdb2f
Provide nicer filenames for downloads.
...
- This is especially useful for the HKP interface, where previously
all downloads were named 'lookup'.
2019-02-26 13:15:21 +01:00
Justus Winter
2aed7802db
Handle mail lookups with @ escaped.
2019-02-26 13:15:20 +01:00
Justus Winter
edb7faf700
Remove unused location rules.
2019-02-26 13:15:20 +01:00
Justus Winter
28681b3efb
Only handle machine-readable requests from nginx.
...
- And relay the rest to hagrid.
2019-02-26 13:15:20 +01:00
Justus Winter
d34f9c7928
Generalize nginx rewrite rules.
2019-02-24 15:10:05 +01:00
Justus Winter
7b5eb8968c
Handle common HKP queries using nginx.
...
- Fixes #46 .
2019-02-22 23:46:56 +01:00
Justus Winter
36c06e036a
Shorten fingerprint to fpr in the Filesystem db.
...
- This keeps relative links below 60 bytes, allowing ext4 to store
the link in the inode itself.
2019-02-22 16:17:20 +01:00
Justus Winter
3f074f693f
Drop unused nginx.conf directives.
2019-02-22 00:37:45 +01:00
Justus Winter
3de0164fd9
Use git-style subdirectories for data files.
...
- To address scalability concerns, we put data files into
subdirectories by splitting e.g. the fingerprint into a two
character prefix and the rest, using the prefix as subdirectory
name, and the rest as filename.
- We hide this fact from the user using rewrite rules in nginx.
- Fixes #38 .
2019-02-22 00:37:45 +01:00
Justus Winter
c90c5dc696
Fix nginx configuration.
...
- Fixes 0bb1961f43
.
2019-02-22 00:37:45 +01:00
Kai Michaelis
9d77cc6797
return correct mime type for by-* routes
2019-01-15 18:30:35 +01:00
Kai Michaelis
572e97b952
rate limit /pks/add to one request per 10s
...
closes #12
2019-01-15 17:25:53 +01:00
Kai Michaelis
6d3ccd9762
allow lookup by keyid and subkey fpr
2019-01-04 14:08:07 +01:00
seu
49f15fd5e0
Move paths around.
...
Server new accepts
/
/vks/{verify,confirm,delete}
/pks/{add,lookup}
2018-11-02 11:48:02 +01:00
seu
9dfb78746a
add nginx config
2018-10-25 17:39:58 +02:00