如何正确配置nginx反向代理 #4201
zuoteamleader
started this conversation in
General
如何正确配置nginx反向代理
#4201
Replies: 1 comment 2 replies
-
谢了,参考你的我跌跌撞撞的弄好了 我用的termux 挂的服务
然后访问你的域名http://xxxxxx.xxxxxx.xxxx/alist 便可访问alsit |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
本教程适用于代理后无内容(白屏,无法访问的问题)
首先,在ngnix配置里添加:
这样访问
http://xxx.xxx.xxx.xxx /你的二级链接
时,才会指向http://127.0.0.1:5244/
!然后,在alist配置文件中,
修改
site_url
为site_url: "http://127.0.0.1/你的二级链接",
最后在shell里执行
systemctl restart alist
无报错的话应该可以使用了!任何问题欢迎提问!
Beta Was this translation helpful? Give feedback.
All reactions