79293068

Date: 2024-12-19 03:51:49
Score: 1.5
Natty:
Report link

Open the NGINX configuration file on you server at this path :

"sudo vi /etc/nginx/nginx.conf"

if you have configured virtual host it's at this path :

"sudo vi /etc/nginx/sites-enabled/example.conf"

For limit the access to the URL, you have to write this :

location /configuration.json { ... deny IP ADDRESS; ... }

Tell me, if this answer work correctly !

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hadrien Valet