expose /abuse and /abuse/report endpoints
This commit is contained in:
parent
5b1d281ee1
commit
6b9e825966
|
@ -105,15 +105,20 @@ location /health-check {
|
||||||
proxy_pass http://10.10.10.60:3100; # hardcoded ip because health-check waits for nginx
|
proxy_pass http://10.10.10.60:3100; # hardcoded ip because health-check waits for nginx
|
||||||
}
|
}
|
||||||
|
|
||||||
location /abuse/ {
|
location /abuse {
|
||||||
include /etc/nginx/conf.d/include/cors;
|
include /etc/nginx/conf.d/include/cors;
|
||||||
|
|
||||||
proxy_pass http://10.10.10.110:4000/;
|
set $skylink "0404guluqu38oaqapku91ed11kbhkge55smh9lhjukmlrj37lfpm8no";
|
||||||
|
set $path $uri;
|
||||||
|
|
||||||
|
include /etc/nginx/conf.d/include/location-skylink;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /report-abuse {
|
location /abuse/report {
|
||||||
# TODO: do a proxy_pass
|
include /etc/nginx/conf.d/include/cors;
|
||||||
return https://0404guluqu38oaqapku91ed11kbhkge55smh9lhjukmlrj37lfpm8no.siasky.net;
|
|
||||||
|
# 10.10.10.110 points to blocker service
|
||||||
|
proxy_pass http://10.10.10.110:4000/powblock;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /hns {
|
location /hns {
|
||||||
|
|
Reference in New Issue