3.4 KiB
3.4 KiB
Novarix Networks Website
Static marketing site for Novarix Networks, prepared for this deployment model:
Giteaas the source of truth for the codeUbuntu 24.04VM runningNginxas the private web serverNginx Proxy Managerexposing the site publicly and handling SSL
Project Structure
public/static files that should be deployed to the web rootpublic/assets/logo/brand assets used by the sitepublic/assets/favicon/favicon filesops/nginx/novarixnet.com.conf.exampleexample Nginx server block
Current Recommended Architecture
- Keep this project in your internal
Gitearepo. - Use the
Ubuntu 24.04VM as the dedicated private web server. - Install
nginxon that VM. - Deploy the contents of
public/to something like/var/www/novarixnet.com. - Use
Nginx Proxy Managerto proxy the public domain to the VM's private IP and Nginx port. - Let
Nginx Proxy Managerhandle the public certificate and HTTPS redirect.
Recommended Workflow
This is the cleanest way to handle changes:
- Edit the site locally.
- Commit and push to
Gitea. - On the
Ubuntu 24.04web VM, pull the latest repo changes. - Sync the contents of
public/into/var/www/novarixnet.com. - Reload
nginxif needed.
This keeps:
- your repo as the source of truth
- the web VM as a deployment target
- live web files separate from the Git working tree
Important Deployment Note
Do not point nginx directly at the Git repository directory if you can avoid it.
Better approach:
- keep the repo in a path such as
/opt/novarix-website - serve the live site from
/var/www/novarixnet.com - copy or sync
public/into/var/www/novarixnet.comduring deployment
That gives you a cleaner separation between:
- source code
- deployment files
- web server content
Example Web VM Layout
- Repo checkout:
/opt/novarix-website - Live site root:
/var/www/novarixnet.com - Nginx site config:
/etc/nginx/sites-available/novarixnet.com
Example Deployment Flow On The Web VM
Clone the repo once:
git clone <your-gitea-repo-url> /opt/novarix-website
Deploy updated files:
sudo mkdir -p /var/www/novarixnet.com
sudo rsync -av --delete /opt/novarix-website/public/ /var/www/novarixnet.com/
Reload Nginx:
sudo systemctl reload nginx
Nginx Proxy Manager Flow
- Public DNS record points to your public IP
- Router forwards
80and443to the host runningNginx Proxy Manager Nginx Proxy Managerreceives the public requestNginx Proxy Managerproxies traffic to the privateUbuntu 24.04web VM- Private
nginxserves the static files
Canonical Domain Suggestion
Your strongest current options are:
novarixnet.comfor broad and international brandingnovarix.co.ukfor a stronger UK-local trust signal
Pick one as the canonical domain and redirect the others to it.
Notes For This Site
- Replace the placeholder
contact@novarixnet.comlink inpublic/index.html - Add real company contact details before launch
- Add legal pages such as privacy and terms
- Add deeper service pages once the ISP, MSP, and transit offers are finalized
- Add a contact form or CRM integration later if needed
Included Nginx Example
Use the example config here as a starting point:
ops/nginx/novarixnet.com.conf.example
Review the domain names, root path, and cache rules before using it in production.