chamhe
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
## 请将
|
||||
`frps.service` 复制到 `/usr/lib/systemd/system/`路径下
|
||||
##启动命令
|
||||
```
|
||||
systemctl daemon-reload
|
||||
systemctl start frps
|
||||
```
|
||||
## Nginx
|
||||
增加配置
|
||||
include /etc/nginx/conf.d/wyl;
|
||||
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Frp Server Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
ExecStart=/etc/nginx/conf.d/wyl/frps -c /etc/nginx/conf.d/wyl/frps.ini
|
||||
LimitNOFILE=1048576
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user