Update ch05-webpage.md

Ubuntu204使用命令安装完nginx后,默认的nginx启动用户和使用的用户不一致,导致访问不到nginx代理的页面
This commit is contained in:
freewor 2024-09-29 03:00:07 +08:00 committed by GitHub
parent d3e8b62f2c
commit 6f643b4b60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,8 +56,12 @@
22/tcp (v6) ALLOW Anywhere (v6)
Nginx Full (v6) ALLOW Anywhere (v6)
```
4. nginx安装后默认的用户可能和启动用户不一致将nginx配置文件中的user项修改为启动用户
```shell
sudo nano /etc/nginx/nginx.conf
```
![image](https://github.com/user-attachments/assets/87d512ef-0ea4-48ed-baa7-efa9705a4452)
## 5.3 创建一个最简单的网页
1. 小小白白 Linux 基础命令: