The plugins I have are:

- Core: TiddlyWiki5 core
- Filesystem: Synchronise changes to the local filesystem
- Highlight: Highlight.js syntax highlighting
- TiddlyWeb: Sync changes to TW5 server or TiddlyWeb server

After making the changes I mentioned in my previous post; It works 
remotely! :)  But now it's stopped working locally...I get the same error I 
did remotely before.  I think it's because tiddlywiki is expecting 8080 and 
nginx is running on port 80, so when the port is forwarded it can use 8080, 
but when it is not, tiddlywiki still thinks it's looking for port 8080 and 
I get the same errors I got before when tiddlywiki was expecting port 80.



On Wednesday, 17 June 2020 14:06:38 UTC-4, Saq Imtiaz wrote:
>
> In the Control Panel, which plugins do you see listed?
>
> Do you see either tiddlyweb or nwsaver?
>
> On Wednesday, June 17, 2020 at 7:57:24 PM UTC+2, leeand00 wrote:
>>
>> 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/b8442623-dde6-4f22-bbbc-cae7d31726b6o%40googlegroups.com.

Reply via email to