Last active
May 18, 2020 05:21
-
-
Save MrHuxu/e1914ae9f891d30df97444a6e4e6a11b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
volumes | |
docker/caddy/index.html:/etc/caddy/index/index.html | |
docker/caddy/caddyfile:/etc/caddy/Caddyfile | |
port | |
8008:80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:80, nas.xhu.me { | |
encode gzip | |
root / /etc/caddy/index | |
file_server | |
redir /aria2 /aria2/ 302 | |
handle /aria2/* { | |
uri strip_prefix /aria2 | |
reverse_proxy 192.168.0.101:9080 | |
} | |
reverse_proxy /jsonrpc 192.168.0.101:9080 | |
reverse_proxy /filebrowser 192.168.0.101:7080 | |
reverse_proxy /login 192.168.0.101:7080 | |
reverse_proxy /files/* 192.168.0.101:7080 | |
reverse_proxy /api/* 192.168.0.101:7080 | |
reverse_proxy /static/* 192.168.0.101:7080 | |
reverse_proxy /share/* 192.168.0.101:7080 | |
reverse_proxy /owdl 192.168.0.101:8283 | |
reverse_proxy /owdl/* 192.168.0.101:8283 | |
reverse_proxy /xyapp/* 192.168.0.101:8283 | |
reverse_proxy /sys/* 192.168.0.101:8283 | |
reverse_proxy /jellyfin/* 192.168.0.101:8096 | |
reverse_proxy /embywebsocket 192.168.0.101:8096 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1"> | |
<title>Nas - xhu</title> | |
<link rel="shortcut icon" type="image" href="https://img.xhu.me/nas/homepage-favicon.png"> | |
<link href="https://cdn.bootcdn.net/ajax/libs/materialize/1.0.0/css/materialize.min.css" rel="stylesheet"> | |
</head> | |
<style> | |
* { | |
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; | |
} | |
body { | |
padding: 100px; | |
position: relative; | |
} | |
.link { | |
text-decoration: none; | |
display: block; | |
margin: 20px 0; | |
margin-left: calc(50% - 85px); | |
width: 170px; | |
} | |
.link-container { | |
text-align: left; | |
} | |
.link-container>img { | |
width: 20px; | |
height: 20px; | |
margin-top: 8px; | |
border-radius: 2px; | |
} | |
.link-container>div { | |
position: absolute; | |
top: 0; | |
left: 45px; | |
} | |
.page-footer { | |
position: absolute; | |
left: 0; | |
bottom: 0; | |
width: 100%; | |
padding-top: 0 !important; | |
} | |
.footer-copyright { | |
min-height: 65px !important; | |
} | |
.footer-link { | |
text-decoration: underline !important; | |
} | |
</style> | |
<body> | |
<a class="link waves-effect waves-light btn" target="_blank" href="http://103.213.247.190:15000/"> | |
<div class="link-container"> | |
<img src="http://103.213.247.190:15000/webman/resources/images/icon_dsm_96.png" /> | |
<div> | |
DiskStation | |
</div> | |
</div> | |
</a> | |
<a class="link waves-effect waves-light btn" target="_blank" href="/filebrowser"> | |
<div class="link-container"> | |
<img src="http://nas.xhu.me/static/img/logo.svg" /> | |
<div> | |
FileBrowser | |
</div> | |
</div> | |
</a> | |
<a class="link waves-effect waves-light btn" target="_blank" href="/aria2"> | |
<div class="link-container"> | |
<img src="http://nas.xhu.me/aria2/favicon.png" /> | |
<div> | |
Aria2 | |
</div> | |
</div> | |
</a> | |
<a class="link waves-effect waves-light btn" target="_blank" href="/jellyfin/web/index.html"> | |
<div class="link-container"> | |
<img src="http://nas.xhu.me/jellyfin/web/touchicon.png" /> | |
<div> | |
Jellyfin | |
</div> | |
</div> | |
</a> | |
<a class="link waves-effect waves-light btn" target="_blank" href="/owdl"> | |
<div class="link-container"> | |
<img src="http://nas.xhu.me/owdl/favicon.ico" /> | |
<div> | |
玩物下载 | |
</div> | |
</div> | |
</a> | |
<footer class="page-footer"> | |
<div class="footer-copyright"> | |
<div class="container"> | |
© 2020 Copyright - xhu | |
<a class="footer-link grey-text text-lighten-4 right" target="_blank" href="http://xhu.me"> | |
xhu.me | |
</a> | |
</div> | |
</div> | |
</footer> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment