Giter Club home page Giter Club logo

Comments (6)

wahyd4 avatar wahyd4 commented on May 22, 2024

不直接绑定任何域名到aria2-docker 上,通过ip(localhost 应该就行) 和端口的形式访问。
然后在apache 配置中将该ip 加端口绑定到 域名下即可。

from aria2-ariang-x-docker-compose.

qbyyy avatar qbyyy commented on May 22, 2024

还是有点不会,我的是ubuntu的,加载了proxy那几个mod。

ln -s ./../mods-available/proxy_connect.load ./proxy_connect.load
ln -s ./../mods-available/proxy_http.load ./proxy_http.load
ln -s ./../mods-available/proxy_ftp.conf ./proxy_ftp.conf
ln -s ./../mods-available/proxy_ftp.load ./proxy_ftp.load
ln -s ./../mods-available/proxy.conf ./proxy.conf
ln -s ./../mods-available/proxy.load ./proxy.load
<VirtualHost *:80>

    ServerName  down.xxx.cn
    ServerAlias down.xxx.cn
    ProxyPreserveHost On
    ProxyRequests Off
    ProxyPass / http://***.***.***.***:60080/
    ProxyPassReverse / http://***.***.***.***::60080/

</VirtualHost>

还是不行,不知道哪里出错了,大佬您那有没有教程

from aria2-ariang-x-docker-compose.

wahyd4 avatar wahyd4 commented on May 22, 2024

apache 我不太了解,你需要自己去其他地方需找帮助。但是既然你已经绑定了两个其他的站点,那么这第三个站点其实配置是类似的。

from aria2-ariang-x-docker-compose.

qbyyy avatar qbyyy commented on May 22, 2024

那两个是基于域名区分的站点,这次是基于端口来区分,我搜到的教程都是在配置文件里加了网站目录的,因为没有目录,所以不知道怎么办

from aria2-ariang-x-docker-compose.

wahyd4 avatar wahyd4 commented on May 22, 2024

Apache reverse proxy: https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html

不行就是用Nginx 吧,更加流行的方案

from aria2-ariang-x-docker-compose.

qbyyy avatar qbyyy commented on May 22, 2024

哈哈 我通过apache2的反向代理成功了,感谢大佬提供思路~

from aria2-ariang-x-docker-compose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.