Configure routes

This commit is contained in:
PJ 2021-12-01 16:23:56 +01:00
parent 63b283fc42
commit 25fd697d5f
No known key found for this signature in database
GPG Key ID: F345964979FA8971
1 changed files with 13 additions and 6 deletions

View File

@ -90,15 +90,22 @@ location /health-check {
proxy_pass http://10.10.10.60:3100; # hardcoded ip because health-check waits for nginx
}
location /block/ {
proxy_method POST;
proxy_http_version 1.1;
location /abuse/ {
proxy_pass http://10.10.10.102:4000/;
client_max_body_size 10M;
}
location /abuse {
proxy_pass https://vg2e911ounsg4d87jppvj5mkcg3gvnceh28aobjl2puonuu24696uno.siasky.dev/;
location /report-abuse {
# include /etc/nginx/conf.d/include/cors;
# set $skylink "vg2e911ounsg4d87jppvj5mkcg3gvnceh28aobjl2puonuu24696uno";
# set $path $uri;
# include /etc/nginx/conf.d/include/location-skylink;
# proxy_intercept_errors on;
# error_page 400 404 490 500 502 503 504 =200 @fallback2;
# TODO: wanted to use proxy pass but ran into error here
return https://0404guluqu38oaqapku91ed11kbhkge55smh9lhjukmlrj37lfpm8no.siasky.net
}
location /hns {