79453710

Date: 2025-02-20 08:02:15
Score: 3
Natty:
Report link

i'm not able to access the ip/admin, here but when I try to server on '/' location it is serving, can anyone help to get rid from it

Nginx Configuration (/etc/nginx/sites-available/default)

server {
listen 80 default_server;
listen [::]:80 default_server;
server_name xxx.85.127.14;
location / {
    root /root/deployment/user/dist;
    index index.html;
    try_files $uri /index.html;
}

location /admin {
    root /root/deployment/admin/dist;
    index index.html;
    try_files $uri /index.html;
}


location /api/ {
    proxy_pass http://localhost:5000/;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

}

Reasons:
  • RegEx Blacklisted phrase (3): can anyone help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rahul Kumar