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:
parent
69001a020d
commit
0fd71dc1c6
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue