Fixed missing nginx configuration in Administration.md

This commit is contained in:
2025-11-19 23:33:37 +01:00
parent 5299722780
commit 7ec4fd8281

View File

@@ -19,7 +19,10 @@
- Install DotNet Core 10.0 runtime via package manager: `sudo apt install dotnet10 dotnet-runtime-10.0`
- Set up nginx to point to the application:
- `sudo apt install nginx`
- Configure nginx: [example_nginx.conf](Resources/example_nginx.conf)
- Configure nginx:
- Create and edit the config file: `sudo nano /etc/nginx/sites-available/HAM.conf`
- Insert the content and configure: [example_nginx.conf](Resources/example_nginx.conf)
- create a symbolic link to sites-enabled: `cd ../sites-enabled && ln -s ../sites-available/HAM.conf HAM.conf`
- Restart nginx: `sudo systemctl restart nginx`
- If you don't already have an SSL certificate:
- Install certbot: `sudo apt install certbot -y`