4 ms·
I'm no NGINX or security expert, but this seems to work. location /passwd { root /etc; try_files $uri $uri/ passwd; }
by unfunco 5y ago
I'm no NGINX or security expert, but this seems to work.
location /passwd {
root /etc;
try_files $uri $uri/ passwd;
}
- Valodim 5y agoThe FAQ says that it's probably insecure and to please be gentle :)