I have a question regarding api/getpeerinfo and api/gethashinfo
I am trying to block external calls to these to api elements and only allow localhost and server and i don't have Nginx installed so i have been trying to block them via apache but with no luck.
Do you have any suggestions on how to do this i have used in apache2.conf and 000.default.conf
<Location /api/getpeerinfo>
Deny from all
Allow from 127.0.0.1
Allow from server ip
does not seem to work from what i can tell, using apache2 2.4
Just wondered if it was possible, i know you can do it with Nginx but i would need to reset a lot of things to get it to install correctly, just hoping not too as i use SSL.
Hi,
I have a question regarding api/getpeerinfo and api/gethashinfo
I am trying to block external calls to these to api elements and only allow localhost and server and i don't have Nginx installed so i have been trying to block them via apache but with no luck.
Do you have any suggestions on how to do this i have used in apache2.conf and 000.default.conf
<Location /api/getpeerinfo> Deny from all Allow from 127.0.0.1 Allow from server ip
does not seem to work from what i can tell, using apache2 2.4
Just wondered if it was possible, i know you can do it with Nginx but i would need to reset a lot of things to get it to install correctly, just hoping not too as i use SSL.