mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 15:36:18 -05:00
Moving HTTP kiwix/help services to 9085/9086 ports. Nginx will serve HTTPS proxy for kiwix/help services at the old ports. Modifying apache2 to use HTTPS to serve map.
Using new https_proxy docker container to serve HTTPS for zim, map and help.
This commit is contained in:
parent
ae61977f0b
commit
38de2f9b40
31 changed files with 450 additions and 244 deletions
|
|
@ -7,6 +7,7 @@ import {
|
|||
humanFileSize,
|
||||
IframeViewer,
|
||||
InfoMessage,
|
||||
MAP_VIEWER_URI,
|
||||
PageContainer,
|
||||
TabLinks,
|
||||
useTitle,
|
||||
|
|
@ -32,9 +33,6 @@ import {Loader, Placeholder, Table} from "./Theme";
|
|||
import {StatusContext} from "../contexts/contexts";
|
||||
import _ from "lodash";
|
||||
|
||||
|
||||
const VIEWER_URL = `http://${window.location.hostname}:8084/`;
|
||||
|
||||
function DockerMapImportWarning() {
|
||||
const {status} = useContext(StatusContext);
|
||||
if (status['dockerized']) {
|
||||
|
|
@ -95,7 +93,7 @@ function DownloadMessage() {
|
|||
|
||||
const ViewerMessage = () => {
|
||||
return <HandPointMessage>
|
||||
<p>You can view your Map at <a href={VIEWER_URL}>{VIEWER_URL}</a></p>
|
||||
<p>You can view your Map at <a href={MAP_VIEWER_URI}>{MAP_VIEWER_URI}</a></p>
|
||||
</HandPointMessage>
|
||||
}
|
||||
|
||||
|
|
@ -293,7 +291,7 @@ class ManageMap extends React.Component {
|
|||
}
|
||||
|
||||
function MapPage() {
|
||||
return <IframeViewer title='map' viewerUrl={VIEWER_URL}/>
|
||||
return <IframeViewer title='map' viewerUrl={MAP_VIEWER_URI}/>
|
||||
}
|
||||
|
||||
export function MapRoute() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue