Now I understand what you mean using “dev”. I need to ask from G little helps.
Hugo doc says: " However, some Hugo users may use hugo server
in production to instantly display updated content".
I’m one of those in my purposes.
If it’s “forbidden” or not recommendable, then tell it. I hope that you update docs anyway.
Using go http server library include risk or ? Why not also for production ?
Current documentation not give on the 1st look that Hugo team main idea have been …
- Hugo support Develop, Stage and Production process
- use hugo and hugo server only for develoment. It’s possible to use also in production, but our …
- deploy static result to the some https server directly or push changes to the Stage, ex. Github
- Production use Stage
or something like that.
I can’t see the main “picture” in the About Hugo | Hugo page.
I took lot of time to ask and ask from G to find document which open whole idea (dev-stage-prod) using Hugo. There was excellent docs, but not in the Hugo’s own docs.
But anyway, if dev hugo server or hugo production server env is behind proxy ex. “sandbox” and dev hugo get sources ex. from git, then we need proxy configuration even it’s only in “dev” use.