I have a subdomain for which only 1 single file will ever be served for any and all purposes.
Sample Reference:
server{
listen 80;
server_name one.example.com;
return 200 'hello';
}
Instead of a string, what would be the most efficient/otherwise best way to server an .html file?
Or is this:
server{
listen 80;
server_name one.example.com;
location * {
root /home/;
try_files /one.html /one.html;
}
}
as simple as it gets?