docs: update home/server/nginx
This commit is contained in:
parent
bfb3215507
commit
ccf775c76f
@ -2,7 +2,7 @@
|
|||||||
title: nginx
|
title: nginx
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2025-09-27T14:08:44.940Z
|
date: 2025-09-27T14:10:07.176Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2025-09-27T13:50:53.553Z
|
dateCreated: 2025-09-27T13:50:53.553Z
|
||||||
@ -22,7 +22,7 @@ The config files for each service is located at
|
|||||||
/etc/nginx/sites-available/
|
/etc/nginx/sites-available/
|
||||||
```
|
```
|
||||||
|
|
||||||
Example config file:
|
Example config file **wiki**:
|
||||||
```
|
```
|
||||||
server {
|
server {
|
||||||
listen 80;
|
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/
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user