Merge pull request #1494 from SkynetLabs/abuse-report-endpoints-path-fix
fix /abuse endpoint
This commit is contained in:
commit
25bd31d679
|
@ -106,12 +106,7 @@ location /health-check {
|
||||||
}
|
}
|
||||||
|
|
||||||
location /abuse {
|
location /abuse {
|
||||||
include /etc/nginx/conf.d/include/cors;
|
return 308 /0404guluqu38oaqapku91ed11kbhkge55smh9lhjukmlrj37lfpm8no/;
|
||||||
|
|
||||||
set $skylink "0404guluqu38oaqapku91ed11kbhkge55smh9lhjukmlrj37lfpm8no";
|
|
||||||
set $path $uri;
|
|
||||||
|
|
||||||
include /etc/nginx/conf.d/include/location-skylink;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location /abuse/report {
|
location /abuse/report {
|
||||||
|
|
Reference in New Issue