docs: update home/server/nginx
This commit is contained in:
parent
bfb3215507
commit
ccf775c76f
@ -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;
|
||||
@ -36,4 +36,9 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
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