Skip to content

Commit

Permalink
Merge pull request v2fly#15 from v2fly/develop
Browse files Browse the repository at this point in the history
style: Wiki special classification
  • Loading branch information
dctxmei authored Jun 14, 2020
2 parents 52f52db + 1195b2c commit 86b6abc
Showing 1 changed file with 2 additions and 46 deletions.
48 changes: 2 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,53 +85,9 @@ or
# bash install-release.sh --remove
```

### 證書權限問題
### 解決問題

假設,這書文件所在的路徑為 `/srv/http/`

文件分別為 `/srv/http/example.com.key``/srv/http/example.com.pem`

方案一:

1. `/srv/http/` 的默認權限一般為 755;
2. `/srv/http/example.com.key` 的默認權限一般為 600;
3. `/srv/http/example.com.pem` 的默認權限一般為 644。

`/srv/http/example.com.key` 修改為 644 即可:

```
# chmod 644 /srv/http/example.com.key
```

方案二:

```
# id nobody
```

1. 显示出来的结果可能是:

```
uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
```
相应的,只需要执行:
```
# chown -R nobody:nogroup /srv/http/
```
2. 显示出来的结果也可能是:
```
uid=65534(nobody) gid=65534(nobody) groups=65534(nobody)
```
相应的,只需要执行:
```
# chown -R nobody:nobody /srv/http/
```
*[使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)」。

## 參數

Expand Down

0 comments on commit 86b6abc

Please sign in to comment.