Did you do the import step? So import the small index.html into the server. 
You could select all. ... You did a backup right?

       I did do this later. But I still winder if it was really necessary. 
The image files were already in the images directory.

Tiddlywiki server doesn't use the "build" info. So it doesn't know about 
the images directory to store new images. 
The TW server at the moment is a very very basic server to make TW 
development easier. 

      OK, I see. Does this mean I need to rerun the 'build' step 
periodically to get new image files placed in the right directory?

      It also brings up another question about the future plans for the 
system. Do you indeed plan to have a more robust server implementation? 
After all, the value is in the sharing of information among many. I have no 
use for a "personal" wiki.

You need to tell nginx now to serve the images.
then [img[http://yourdomain.lan/image.png]] should work.

   Ok. After modifying nginx to add location /images/ the images files are seen 
as usual:


[root@stratus conf.d]# cat ncemonwiki.conf
# HTTPS server
proxy_cache_path /data/nginx/cache keys_zone=one:10m;
#
server {
    listen       8443 ssl;
    server_name  stratus.emon.nc.gov;

    ssl_certificate      /etc/nginx/ssl/server.crt;
    ssl_certificate_key  /etc/nginx/ssl/server.key;

    ssl_session_cache shared:SSL:1m;
    ssl_session_timeout  5m;

    ssl_ciphers  HIGH:!aNULL:!MD5;
    ssl_prefer_server_ciphers   on;

    proxy_cache one;

    location / {
        root                    /home/ncemonwiki/emonwiki;
        auth_basic "Restricted";
        auth_basic_user_file /home/ncemonwiki/emonwiki/.htpasswd;
        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header        Host $http_host;
        proxy_set_header        X-Forwarded-Proto $scheme;
        proxy_pass              http://127.0.0.1:8080;
    }
    location /images/ {
        root /home/ncemonwiki/emonwiki;
    }
}
[root@stratus conf.d]#



Thanks again for your help.

The load time is still pretty slow - 38 seconds or so. It does take pretty 
long over the network to serve the data. I'm turning my attention now to 
speeding that up. I have a NAT in the way that I maybe can avoid.


-- 
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