update readme

This commit is contained in:
keshanechen 2020-03-12 14:03:57 +08:00
parent e8e12ee10c
commit ae4bc5cf43

View File

@ -120,8 +120,8 @@ Download `webp-server` to `/opt/webps/webp-server`, and create a config file to
```shell script ```shell script
./webp-server -dump-systemd > /lib/systemd/system/webp-server.service ./webp-server -dump-systemd > /lib/systemd/system/webp-server.service
systemctl daemon-reload systemctl daemon-reload
systemctl enable webps.service systemctl enable webp-server.service
systemctl start webps.service systemctl start webp-server.service
``` ```
## 4. Nginx proxy_pass ## 4. Nginx proxy_pass
Let Nginx to `proxy_pass http://localhost:3333/;`, and your webp-server is on-the-fly Let Nginx to `proxy_pass http://localhost:3333/;`, and your webp-server is on-the-fly