反代Calibre-web,域名地址访问

  1. apache启用proxy proxy_http headers等模块

    sudo a2mod proxy proxy_http headers
  2. apache配置文件,site-enabled中增加反代配置

     <Location "/calibre-web" >
         RequestHeader set X-SCRIPT-NAME /calibre-web
         RequestHeader set X-SCHEME https
         ProxyPass http://localhost:8083/
         ProxyPassReverse http://localhost:8083/
     \</Location>

标签: none

添加新评论