During fast review i noticed that, -path argument accept every path the user provides without checking it exists or not. and when the user visits the web root of the server. it returns 404 page not found. it would be better if you will notify the user before running the server.