Hi,
I'm sorry for that wrong tagging. Actually, I'm just a beginner and found those links hard to follow since they use samples while (I was looking for something direct like the exact path file and block to edit) after installing WordPress through Webinoly.
I need to add this exact snippet which will restrict the data folder that is located inside a subfolder called "rainloop" of my root domain:
location ^~ /data {
deny all;
}
Hope I explained it well this time.