Closed aateeque closed 4 years ago
See https://wyam.io/docs/deployment/serving-from-a-subdirectory - I think that's what you want. It'll generate links using the sub-path:
Settings[Keys.LinkRoot] = "/app";
You'll also need to instruct the preview server to do the same when running it from the command-line - instructions for that are also in the doc.
Not sure how i missed that - thanks
I'd like to serve a Wyam site behind an nginx URL like: http://mdomain.com/app/index.html
When I use the docs recipe and do a
wyam publish
the relative paths to the resources (css, images, js) is all rooted (like /assets/..). How can I prepend "app" to these paths?