mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-02 17:08:38 +08:00
update
This commit is contained in:
parent
aa52fd9034
commit
6af05e31b3
@ -24,11 +24,11 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>
|
<div>
|
||||||
<button type="button" onclick="getInfo()">查看账户信息</button>
|
<button type="button" onclick="getInfo()">查看账号密码</button>
|
||||||
<button type="button" onclick="clearInfo()">隐藏账户信息</button>
|
<button type="button" onclick="clearInfo()">隐藏账号密码</button>
|
||||||
<div id="sysinfo">
|
<div id="sysinfo">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
"tools": {
|
"tools": {
|
||||||
"sysinfo": {
|
"sysinfo": {
|
||||||
"label": "账号信息",
|
"label": "初始账号",
|
||||||
"path": "index.html",
|
"path": "index.html",
|
||||||
"order": 999
|
"order": 999
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
@ -8,6 +8,6 @@
|
|||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<iframe src="http://47.92.175.174:9001" width="100%" height="100%"></iframe>
|
<iframe src="/nginxproxymanager/" width="100%" height="100%"></iframe>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -7,7 +7,7 @@
|
|||||||
"tools": {
|
"tools": {
|
||||||
"index": {
|
"index": {
|
||||||
"order": "10",
|
"order": "10",
|
||||||
"label": "域名配置",
|
"label": "Nginx 代理",
|
||||||
"path": "index.html",
|
"path": "index.html",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
{
|
{
|
||||||
|
@ -1,83 +0,0 @@
|
|||||||
# ------------------------------------------------------------
|
|
||||||
# 47.92.175.174
|
|
||||||
# ------------------------------------------------------------
|
|
||||||
|
|
||||||
server {
|
|
||||||
set $forward_scheme http;
|
|
||||||
set $server "172.17.0.1";
|
|
||||||
set $port 9099;
|
|
||||||
|
|
||||||
listen 80;
|
|
||||||
listen [::]:80;
|
|
||||||
|
|
||||||
server_name 47.92.175.174;
|
|
||||||
access_log /data/logs/proxy-host-3_access.log proxy;
|
|
||||||
error_log /data/logs/proxy-host-3_error.log warn;
|
|
||||||
|
|
||||||
location /nginx/ {
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_set_header X-Forwarded-Scheme $scheme;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_pass http://nginxproxymanager:81;
|
|
||||||
|
|
||||||
# Required for web sockets to function
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_buffering off;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection "upgrade";
|
|
||||||
# Pass ETag header from Cockpit to clients.
|
|
||||||
# See: https://github.com/cockpit-project/cockpit/issues/5239
|
|
||||||
gzip off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_set_header X-Forwarded-Scheme $scheme;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_pass http://172.17.0.1:9099;
|
|
||||||
|
|
||||||
# Required for web sockets to function
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_buffering off;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection "upgrade";
|
|
||||||
# Pass ETag header from Cockpit to clients.
|
|
||||||
# See: https://github.com/cockpit-project/cockpit/issues/5239
|
|
||||||
gzip off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /panel/ {
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_set_header X-Forwarded-Scheme $scheme;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_pass http://172.17.0.1:9099;
|
|
||||||
# Required for web sockets to function
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_buffering off;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection "upgrade";
|
|
||||||
# Pass ETag header from Cockpit to clients.
|
|
||||||
# See: https://github.com/cockpit-project/cockpit/issues/5239
|
|
||||||
gzip off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /phpmyadmin/ {
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_set_header X-Forwarded-Scheme $scheme;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_pass http://phpmyadmin:80;
|
|
||||||
rewrite ^/phpmyadmin(/.*)$ $1 break;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Custom
|
|
||||||
include /data/nginx/custom/server_proxy[.]conf;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user