new: 27-Sep-2025
Apart from having the svelte app correctly configured and running in the background as a pm2 daemon, it is necessary to have one's own domain (such as myexample.com) with a SSL Certificates (Let'sEncrypt).
Nginx to render Svelte
In Webmin->Servers->Nginx Webserver, create a Virtual Host. (Note: if the Nginx module does not appears, see for its installation the blue note in: Basic Site Setup-PtB).
For the Server Name: myexample_com.conf (the .conf subtext is necessary)
Copy & paste this text in the Nginx virtual host (modify the domain and the SSL Certificates): Svelte-nginx.txt
Svelte | Svelte-PartB |
Svelte-Deploy | Svelte-Extras |