issues
search
zhanbei
/
static-server
A static server in Go, supporting hosting static files in the no-trailing-slash version.
0
stars
0
forks
source link
Use Cases for Falling Through for (Static )Resources
#13
Open
zhanbei
opened
4 years ago
zhanbei
commented
4 years ago
index.html
Site for all sub sites, or use nginx to direct to the right.
Only for very few special usages.
favicon.ico
This is common because all sub sites may share the same favicon.
Do not copy it again and again.
robots.txt
Other Resources(Scripts and Styles)
May not be copied nor fallthrough, but better be referred cross site.
May be used to as the custom
404
pages, corresponding with the route mapping.