5/31/2023 0 Comments Calibre web docker(Normally a proxy only rewrites HTTP headers/responses). For external users the public record for points to the ip-address of your public webserver and you can then use solution 4.ī) You can actually get apache to to not only proxy requests to, but also rewrite the response body before it will be transmitted to your users. Both internal and external users use the, but your internal DNS points directly to the ip-address of 's server. Ī) You can use combo solution of a split horizon DNS and scenario 4. # Internal app uses a bunch of absolute paths.įour) Create a separate subdomain for the internal app and simply reverse proxy everything: įive) Sometimes developers are completely clueless and have their applications not only generate absolute URL's but even include the hostname part in their URL's and the resulting HTML code looks like this. If you're lucky the internal app only uses two or three subdirectories and those are unused on your main site, simply write a bunch of ProxyPass lines: # Expose Internal App to the internet. Three) One and two are often unlikely to happen. In the window that appears, insert the following: In the General tab, In the Task field, enter Calibre-Web. Two) Redeploy the internal app in a the same subdirectory /folder rather than in the root of. i.e./css/style.css instead of /css/style.css One) Rewrite the internal app to use relative paths instead of absolute. The Apache ProxyPassRewrite does not rewrite the response bodies received from, only headers (like redirects to a 404 page and such).
0 Comments
Leave a Reply. |