HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/js/add-url-proxy-legacy2.js
System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy386.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy118.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528","./useController-legacy20.js?v=1777008528","./useController-legacy19.js?v=1777008528","./site-legacy.js?v=1777008528","./useStore-legacy2.js?v=1777008528","./useController-legacy13.js?v=1777008528","./useMethod-legacy12.js?v=1777008528","./index-legacy192.js?v=1777008528"],function(e,l){"use strict";var n,t,o,u,r,a,i,d,c,s,p,f,m,y,g,h,b,x,j,_,V,v,w,C,k,T,U,F,I,R,S,q,B,H;return{setters:[function(e){n=e.cO,t=e.W,o=e.b,u=e.a,r=e.cP},function(e){a=e.c,i=e.o,d=e.I,c=e.j,s=e.k,p=e.J,f=e.p,m=e.C,y=e.v,g=e.e,h=e.q,b=e.a1,x=e.Q,j=e.ad,_=e.aB,V=e.ab},function(e){v=e.i,w=e.o,C=e.f,k=e.u,T=e.t,U=e.s,F=e.a,I=e.h,R=e.p,S=e.b,q=e.c,B=e.d,H=e.e},null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var l={class:"p-[20px]"},J={class:"flex items-center"};e("default",a({__name:"add-url-proxy",setup:function(e,a){var L=a.expose;return i(function(){v()}),L({onConfirm:w}),function(e,a){var i=n,v=j,w=t,L=o,M=u,O=_,P=V,Q=r,W=d("bt-loading");return c(),s("div",l,[p((c(),m(P,{ref_key:"proxyFormRef",ref:S,model:f(k),rules:f(q),"label-width":"100px",disabled:f(B)},{default:y(function(){return[g(v,{label:"代理目录",prop:"path"},{default:y(function(){return[g(i,{modelValue:f(k).path,"onUpdate:modelValue":a[0]||(a[0]=function(e){return f(k).path=e}),placeholder:"请输入代理目录,例如:/web",width:"42rem"},null,8,["modelValue"])]}),_:1}),g(v,{label:"目标",prop:"proxysite"},{default:y(function(){return[h("div",J,[g(v,null,{default:y(function(){return[g(w,{class:"!w-[16rem]",modelValue:f(k).targetType,"onUpdate:modelValue":a[1]||(a[1]=function(e){return f(k).targetType=e}),placeholder:"请选择",options:f(T),onChange:f(U)},null,8,["modelValue","options","onChange"])]}),_:1}),g(i,{modelValue:f(k).proxysite,"onUpdate:modelValue":a[2]||(a[2]=function(e){return f(k).proxysite=e}),placeholder:"http"===f(k).targetType?"请输入目标地址":"请选择sock文件",class:"!ml-[1rem]",width:"24rem",iconType:"http"!==f(k).targetType&&"folder",onFolder:f(F),onInput:f(I)},b({_:2},["http"!==f(k).targetType?{name:"append",fn:y(function(){return[g(M,{onClick:f(F)},{default:y(function(){return[g(L,{icon:"el-folder-opened",class:"cursor-pointer"})]}),_:1},8,["onClick"])]}),key:"0"}:void 0]),1032,["modelValue","placeholder","iconType","onFolder","onInput"])])]}),_:1}),g(v,{label:"发送域名(host)",prop:"todomain","label-width":"100px"},{default:y(function(){return[g(O,{placement:"top-start",effect:"dark",title:"",content:"请求转发到后端服务器时的主机名,一般为$http_host,如果目标URL是域名,则需要改为域名",width:"400",visible:f(R),"onUpdate:visible":a[5]||(a[5]=function(e){return x(R)?R.value=e:null}),"trigger-keys":[],trigger:"focus"},{reference:y(function(){return[g(i,{modelValue:f(k).todomain,"onUpdate:modelValue":a[3]||(a[3]=function(e){return f(k).todomain=e}),onFocus:a[4]||(a[4]=function(e){return R.value=!0}),placeholder:"请输入发送域名",width:"42rem"},null,8,["modelValue"])]}),_:1},8,["visible"])]}),_:1}),g(v,{label:"备注"},{default:y(function(){return[g(i,{modelValue:f(k).ps,"onUpdate:modelValue":a[6]||(a[6]=function(e){return f(k).ps=e}),placeholder:"请输入备注,可为空",width:"42rem"},null,8,["modelValue"])]}),_:1})]}),_:1},8,["model","rules","disabled"])),[[W,f(C)]]),g(Q,{options:f(H),class:"mt-2rem ml-[20px]"},null,8,["options"])])}}}))}}});