This commit is contained in:
wyl
2023-01-16 22:56:59 +08:00
parent 4387e37749
commit 06003f2de8
3 changed files with 24 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
## 请将
`frps.service` 复制到 `/usr/lib/systemd/system/`路径下
##启动命令
```
systemctl daemon-reload
systemctl start frps
```
## Nginx
增加配置
include /etc/nginx/conf.d/wyl;
Executable
BIN
View File
Binary file not shown.
+14
View File
@@ -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