How do you start ur tw5?
my nginx-configuration looks like this, but i still get only a white page 
with console output:

GET http://hansarch.ddns.info/tiddly 404 (Not Found)
logsimple.js:15 we are insidehttp://hansarch.ddns.info/tiddly

nginx.conf:
server {
    listen 80; # spdy is optional as well as ssl
    server_name localhost;

    client_max_body_size 80M;
    client_body_buffer_size     80M;

    root /srv/http;
    ## root /srv/http/paperwork/frontend/public;
    # index index.html index.php;


    location /tiddly {

        proxy_pass   http://127.0.0.1:8090;
        proxy_max_temp_file_size 0 ;
        proxy_set_header        Host             $host;
        proxy_set_header        X-Real-IP        $remote_addr;
        proxy_set_header        X-Forwarded-For  $proxy_add_x_forwarded_for;
    }


    location /tt-rss {
     #root /tt-rss;
     index index.html index.php;
        try_files $uri $uri/ /index.php;
        #fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
        #fastcgi_index index.php;
        #fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        #include fastcgi_params;
#error_log  logs/ttrsserror.log;
#error_log  logs/ttrsserror.log  notice;
#error_log  logs/ttrsserror.log  info;
    }



    location ~ \.php {
        fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }



}

Am Dienstag, 17. Mai 2016 15:54:37 UTC+2 schrieb Matthew Lauber:
>
> Is nginx running on the same box as tiddlywiki?  If so, you probably don't 
> need to proxy_pass to ddns.info:8090 but rather to localhost:8090.
>
> Here's my configuration
> server {
>     listen           80;
>     access_log       /var/log/nginx/tiddlywiki.access.log combined;
>
>     location /wiki/ {
>         limit_except GET HEAD {
>             auth_basic 'Restricted';
>             auth_basic_user_file /etc/nginx/auth/tiddlywiki;
>         }
>         proxy_pass   http://127.0.0.1:8888/;
>         proxy_set_header        Host             $host;
>         proxy_set_header        X-Real-IP        $remote_addr;
>         proxy_set_header        X-Forwarded-For 
>  $proxy_add_x_forwarded_for; 
>     }
> }
>
> As you can see, I'm proxying to localhost on port 8888.  My wiki is 
> available below the path /wiki/ so you'd want to replace that with /tiddly/.
>
> The one nice feature I figured out was how to restrict write access to 
> logged in users, while allowing read access via the limit_except GET HEAD 
> block.
>
> Hope that helps,
> Matt
>
>
> On Tuesday, May 17, 2016 at 9:33:07 AM UTC-4, Hans Maulwurf wrote:
>>
>> Hey,
>>
>> could someone help me to get TW5 working with nginx under a suburl? I run 
>> "tiddlywiki testwiki --server 8090 $:/core/save/all text/plain text/html "" 
>> "" 0.0.0.0"
>>
>> Then i can access the tw fine with localhost:8090 or my dyndnsxxx:8090. 
>> But i want to get it at localhost/tiddly. I tried it with nginx-conf:
>>
>>     location / {
>> alias /tiddly;
>>         proxy_pass   http://hansarch.ddns.info:8090;
>>         proxy_max_temp_file_size 0 ;
>>         proxy_set_header        Host             $host;
>>         proxy_set_header        X-Real-IP        $remote_addr;
>>         proxy_set_header        X-Forwarded-For 
>>  $proxy_add_x_forwarded_for;
>>     }
>>
>> But i only get a white page. Any suggestions?
>>
>> Thanks for ur help,
>>
>> Hans
>>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c243c82b-65ff-405d-ade9-245fbd9243ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to