Jrohy / webssh

简易在线终端和sftp工具

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

可以添加个URL参数吗?

fjchenjian opened this issue · comments

比较常用的场景nginx的location / 作为网站的主站了,希望添加个URL参数,这样方便nginx配置转发,例如nginx上配置location /webssh,反向代理到:http://ip:5032/webssh

commented

可以参考: https://github.com/Jrohy/trojan/wiki/nginx%E9%85%8D%E7%BD%AE 来修改nginx配置, 用的相同的方式(go:embed)来嵌入和代理前端文件