mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-19 22:41:55 +00:00
Fixed missing nginx configuration in Administration.md
This commit is contained in:
@@ -19,7 +19,10 @@
|
|||||||
- Install DotNet Core 10.0 runtime via package manager: `sudo apt install dotnet10 dotnet-runtime-10.0`
|
- 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:
|
- Set up nginx to point to the application:
|
||||||
- `sudo apt install nginx`
|
- `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`
|
- Restart nginx: `sudo systemctl restart nginx`
|
||||||
- If you don't already have an SSL certificate:
|
- If you don't already have an SSL certificate:
|
||||||
- Install certbot: `sudo apt install certbot -y`
|
- Install certbot: `sudo apt install certbot -y`
|
||||||
|
|||||||
Reference in New Issue
Block a user