The tiddler in question doesn't exist; I'm running version 5.1.22, should I 
create the tiddler?

Also there's a special tiddler $__config_tiddlyweb_host.tid I had to modify 
it to get it to work with the nginx reverse_proxy.

I just attempted to add :8080 to it, maybe that will fix it up; did they 
change the tiddler name in a new version?

I'll let you know what I find.

On Wednesday, 17 June 2020 02:41:44 UTC-4, Saq Imtiaz wrote:
>
> Look at $:/plugins/tiddlywiki/tiddlyweb/ServerControlPanel
>
> You can see here how it is used: 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/tiddlyweb/tiddlywebadaptor.js#L40
> $protocol is replaced with document.location.protocol
> $host is replaced with document.location.host
>
> I think the value you want to set is: $protocol//127.0.0.1:8080
>
>
>
> On Wednesday, June 17, 2020 at 3:29:46 AM UTC+2, leeand00 wrote:
>>
>> It's not $:/info/url/port is it?  
>>
>> I grepped the github repo I pulled it from and it says Port portion of 
>> URL of wiki (eg, ''<<example port>>'') in the InfoMechanisms tiddler.
>>
>> On Tuesday, 16 June 2020 15:57:23 UTC-4, leeand00 wrote:
>>>
>>> I just installed TW 5.1.22 on a machine (the TW5 server) that I have on 
>>> the DMZ behind an SSH gateway.  
>>>
>>> I have ssh port forwarded from outside and used the local port 8080 to 
>>> tunnel through the SSH gateway to my TW5 server inside.
>>>
>>> I also have another PHP web application on there that seems to be 
>>> working fine (it doesn't appear to use much in the way of ajax).
>>>
>>> (both of these web applications sit behind nginx, which handles the 
>>> requests)
>>>
>>> On the remote machine I'm using to connect, in the /etc/hosts files I've 
>>> added the lines `wiki.somedomain.com 127.0.0.1` and `
>>> kanboard.somedomain.com 127.0.0.1`.
>>>
>>> I access them from a remote machine in the browser using `
>>> http://wiki.somedomain.com:8080/` <http://wiki.somedomain.com:8080/> 
>>> and `http://kanboard.somedomain.com:8080/` 
>>> <http://kanboard.somedomain.com:8080/>
>>>
>>> Tiddlywiki does not appear to work correctly, because although the 
>>> initial page loads just fine, any subsequent ajax requests back to the 
>>> server do not include the 8080 and instead they just use :80, and thus I 
>>> can browse the wiki, but I can't make changes.
>>>
>>> Is there any way I can filter the text for these requests, or change a 
>>> setting in the tiddlywiki server, so that I can include the local port in 
>>> my requests made via ssh port forwarding?
>>>
>>> Thank you, 
>>>    Andrew J. Leer
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0b9c00e9-a2ff-4481-ac87-3c7c44d35b70o%40googlegroups.com.

Reply via email to