synology部署静态网址web-station
Synology 的 Web Station 是一款强大的工具,它允许您直接从 Synology NAS 设备轻松托管和管理网站。
env
- synologt-dsm7.2
- web-station
1.安装web station
synology login -> 套件中心 -> web station -> 点击安装
默认门户
默认门户网页服务
2.上传静态网站包及设置权限
- 默认门户静态网址根: /volume1/web
- 注意默认权限 http:http
操作过程
root@mvpbang:/volume1/web_packages/docker# ll /volume1/web
total 4
d---------+ 1 root root 52 Jan 9 11:08 .
drwxr-xr-x 1 root root 1078 Jan 9 10:37 ..
drwxrwxrwx+ 1 root root 8 Jan 9 11:08 @eaDir
-r-xr-x---+ 1 http http 1741 Jan 9 11:08 index.html
drwx--x--x 1 http http 56 Jan 9 11:08 web_images
root@mvpbang:/volume1/web_packages/docker# chown -R http:http /volume1/web/
root@mvpbang:/volume1/web_packages/docker# ll /volume1/web/
total 552
dr-xr-x---+ 1 http http 300 Feb 5 11:45 .
drwxr-xr-x 1 root root 1078 Jan 9 10:37 ..
drwxr-xr-x 1 http http 20 Feb 3 22:44 about
drwxr-xr-x 1 http http 44 Feb 3 22:44 archives
-rw-r--r-- 1 http http 11118 Feb 3 22:44 baidusitemap.xml
-rw-r--r-- 1 http http 32 Feb 3 22:44 baidu_verify_codeva-XZAa5g6U2Q.html.html
drwxr-xr-x 1 http http 20 Feb 3 22:44 categories
drwxr-xr-x 1 http http 40 Feb 3 22:44 css
drwxr-xr-x 1 http http 314 Feb 3 22:44 images
-rw-r--r-- 1 http http 47087 Feb 3 22:44 index.html
drwxr-xr-x 1 http http 236 Feb 3 22:44 js
drwxr-xr-x 1 http http 5504 Feb 3 22:44 p
drwxr-xr-x 1 http http 14 Feb 3 22:44 page
drwxr-xr-x 1 http http 23042 Feb 3 22:44 resource
-rw-r--r-- 1 http http 452927 Feb 3 22:44 search.json
-rw-r--r-- 1 http http 8449 Feb 3 22:44 sitemap.txt
-rw-r--r-- 1 http http 32460 Feb 3 22:44 sitemap.xml
drwxr-xr-x 1 http http 930 Feb 3 22:44 tags