Forum archive
Simplest way to server static web pages using Turnkey core
I have a Turnkey core up and running in an LXC container to serve my InfluxDB, which works fine.
Now I would like the same machine to serve some simple static web pages.
What's the simplest way to achieve this?
I was thinking "if there is Webmin, then there is already some web server up and running - can't be too hard to get it to display some HTML files if you know what you're doing".
Since I am lacking in the "know what you're doing" department, I hope someone here can point me in the right direction :-)
Thanks in advance for your help!
There is no webserver. Webmin has it's own built-in server.
So if you only want to serve some simple HTML, then just install nginx, the "light" package will do fine:
Then IIRC, by default the doc root is /var/www/html.
If you need more, like PHP, DB etc, then I'd suggest installing our full LAMP stack - or our nginx-php-fastcgi appliance might be preferable?