<http://i.imgur.com/g0q6D0o.jpg>
Sorry, I accidentally deleted the image (damn thing synced to my phone 
grumble grumble google+ rant...) Here is an imgur copy.

No url's actually "fail" it's a yellow error box generated by tiddly wiki 
not the browser. From the developer network tools it looks like it's 
atempting to connect to https://mysite.com/status/
instead of https://mysite.com/wiki/status/

I paused when writing and just had a play around with rewrites:

        location  /wiki/ {

                proxy_pass http://127.0.0.1:8001/;

        }

        location /status {
                rewrite ^/status $scheme://$server_name/wiki$uri permanent;
        }

        location /recipes/ {
                rewrite ^/recipes/ $scheme://$server_name/wiki$uri 
permanent;
        }

This looks like it's working. I am a bit of a noob when it comes to writing 
this stuff and I have no doubt there is a better way of doing this.

On Sunday, 23 November 2014 23:58:39 UTC+8, Jeremy Ruston wrote:
>
> Hi JimyKK
>
> Apologies for the late reply.
>
> > every-time I load the wiki I get a XMLHttpRequest error code: 404 popup 
> (See attached image)
>
> The image hasn't come through. What's the URL that fails? Do you see any 
> useful information in your browser developer tools "network" tab?
>
> Best wishes
>
> Jeremy
>
> On Wed, Nov 19, 2014 at 3:48 AM, JimyKK <[email protected] <javascript:>> 
> wrote:
>
>> Hello again,
>>
>> So I am using Nginx to host my Tiddlywiki Node.js install in a 
>> subdriectory i.e. https://mysite.com/wiki/
>>
>> It works fine and I can access, edit and save everything but every-time I 
>> load the wiki I get a XMLHttpRequest error code: 404 popup (See attached 
>> image)
>>
>> From my understanding nginx isn't passing the XMLHttpRequest properly. 
>> Anyone know the appropriate configuration to fix this? My Google-fu has 
>> failed me on this one.
>>
>> My simplistic config setup:
>>         location  /wiki/ {
>>
>>                 proxy_pass http://127.0.0.1:8001/;
>>
>>         }
>>
>>
>>
>> <https://lh4.googleusercontent.com/-XOeFfsqVXvo/VGwRauCRnUI/AAAAAAAAEJU/Z2mzMn3Gyec/s1600/Untitled.png>
>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to