nodejs server access txt file
The nodejs server accesses the txt file in the root directory.
Inaccessible.
I always thought it was caused by the reverse proxy of the nodejs server.
Today I found out that it is not.
It's caused by the configuration of the nginx server.
made some changes
location ~ .*.(js|css|txt)?$ # Just add |txt here.
{
expires 12h;
error_log off;
access_log /dev/null;
}