docs: update home/server/nginx

This commit is contained in:
Lukas Forsberg 2025-09-27 16:10:08 +02:00 committed by Lukas Forsberg
parent bfb3215507
commit ccf775c76f

View File

@ -2,7 +2,7 @@
title: nginx
description:
published: true
date: 2025-09-27T14:08:44.940Z
date: 2025-09-27T14:10:07.176Z
tags:
editor: markdown
dateCreated: 2025-09-27T13:50:53.553Z
@ -22,7 +22,7 @@ The config files for each service is located at
/etc/nginx/sites-available/
```
Example config file:
Example config file **wiki**:
```
server {
listen 80;
@ -37,3 +37,8 @@ server {
}
}
```
Add symlink to the config file so nginx loads it
```
sudo ln -s /etc/nginx/sites-available/wiki /etc/nginx/sites-enabled/
```