2👍
I don’t know if this is the preferred way but you could use:
location /robots.txt { alias /home/www/static/any-filename.txt; }
To serve single file. Found in documentation and on serverfault
Source:stackexchange.com
2👍
I don’t know if this is the preferred way but you could use:
location /robots.txt { alias /home/www/static/any-filename.txt; }
To serve single file. Found in documentation and on serverfault