1
0
Fork 0
mirror of https://gitlab.com/hagrid-keyserver/hagrid.git synced 2023-02-13 20:55:02 -05:00

nginx: forward vks upload routes

This commit is contained in:
Vincent Breitmoser 2019-06-15 14:01:14 +02:00
parent 69001a020d
commit 0fd71dc1c6
No known key found for this signature in database
GPG key ID: 7BD18320DEADFA11

View file

@ -19,6 +19,14 @@ location /keys {
add_header 'Access-Control-Allow-Origin' '*';
}
location /vks/v1/upload {
proxy_pass http://127.0.0.1:8080;
}
location /vks/v1/request-verify {
proxy_pass http://127.0.0.1:8080;
}
location /vks/v1/ {
location ~ ^/vks/v1/by-email/([^/][^/])([^/][^/])([^/]*)$ {
error_page 404 /errors/404-by-email.htm;