#known 2015-11-09

2015-11-09 UTC
travis-ci joined the channel
#
travis-ci
idno/Known#2588 (master - 71039ab : Ben Werdmuller): The build passed.
travis-ci joined the channel
#
travis-ci
idno/Known#2589 (master - 388a247 : Ben Werdmuller): The build passed.
j12t, tantek, cmal, loic_m, ben_thatmustbeme, benwerd and cleverdevil joined the channel
#
sensiblemn
heyo. anyone want to help me get Known working in a subdirectory with nginx?
#
sensiblemn
benwerd: did you see my question on the dev email list about whether i need to turn on multitenant in my Known configs?
#
sensiblemn
i haven't seen a lot of documentation about what multitenant is. is it for known in subdirectories?
#
benwerd
sensiblemn: it's not - it's actually the multi-domain mechanism that powers *.withknown.com
#
sensiblemn
so it is for known in subdomains?
#
sensiblemn
thanks for the quick response. I'll keep trying to problem solve this nginx thing then. I am pretty new with nginx config stuff, but maybe if i tinker around enuf i'll figure it out.
j12t, kevinmarks, edjw, cleverdevil-, Tino and tantek joined the channel
#
sensiblemn
anyone want to help me figure out the nginx configs i need to get Known running in a subdirectory?
#
kylewm
what do you have so far sensiblemn and what's not working?
#
sensiblemn
my post is at the bottom
#
sensiblemn
i have known in my root directory and am also trying to get known in a subdirectory
travis-ci joined the channel
#
travis-ci
idno/Known#2591 (master - 49b4fc7 : Ben Werdmuller): The build passed.
travis-ci joined the channel
#
travis-ci
idno/Known#2592 (master - bf96ed3 : Erin Jo Richey): The build passed.
#
sensiblemn
i'll try to mimic it
#
kylewm
I'm trying here too, sensiblemn
#
kylewm
<-- not an expert
#
sensiblemn
haha. me neither
#
sensiblemn
i didn't change much to what you did, but it isn't working
#
sensiblemn
i don't use github or gist much kylewm, but if it is easier to collaborate there for you, please let me know
#
kylewm
I'm doing mostlythe same thing... keep getting "*1455340 directory index of "/srv/www/knowntest/" is forbidden"
#
kylewm
is that the same error you are seeing?
#
sensiblemn
sensible.mn/blog
#
sensiblemn
well wait, where are you seeing this? what logs should i be looking at?
#
kylewm
like my nginx error log
#
sensiblemn
when i go to https://sensible.mn/blog/session/login it seems like the root directory known instance takes over
#
sensiblemn
and says "ruh roh"
#
sensiblemn
i'll check nginx now
#
sensiblemn
the logs i mean
#
kylewm
you're diong better than me then... :)
#
kylewm
sensiblemn: I thought I was making progress but it was thwarted agian...
#
kylewm
part of the issue was i needed
#
sensiblemn
this is hard
#
kylewm
location /blog/ {
#
kylewm
try_files $uri $uri/ /blog/index.php?$query_string;
#
kylewm
for it to find the correct php file
#
sensiblemn
good to know!
#
kylewm
oh man, actually that may have been a red herring
#
sensiblemn
should it say location /blog/ or should it say location /blog ?
#
kylewm
this seems to more or less be working https://kylewm.com/blog/
#
sensiblemn
so it wasn't a red herring?
cleverdevil joined the channel
#
sensiblemn
what's redwind?
#
kylewm
unrelated to this
#
kylewm
I just cut out the section of my config that happens to include it
#
kylewm
hopefully your thing will work with just that one chnage to try_files, fingers crossed
#
sensiblemn
it works!
#
sensiblemn
thanks for helping me with that! i was so confused!
#
kylewm
sure!
#
sensiblemn
my thumbnail isn't working
#
sensiblemn
other than that, it looks like the mongo database is running on both my root directory and subdirectory just fine
#
kylewm
that error looks familiar
#
sensiblemn
other than that though, https://sensible.mn/ and https://sensible.mn/blog look exactly the same!
#
sensiblemn
benwerd: once i confirm that i've got some nginx configs that work for known in a subdirectory, is there a place on the Known github or documentation to put the configs or link to my gist so that others can use this too?
#
benwerd
sensiblemn: We'd love documentation for this. In /docs in the main repo, there's a whole set of markdown documentation (which powers docs.withknown.com). It seems sensible to include the rules in the root of the main repo too.
#
sensiblemn
sensible indeed!
#
benwerd
Thank you for working on this!
#
sensiblemn
benwerd: no problem! any thoughts on the last blocker? https://sensible.mn/blog/file/559324b643a95c5d278b4573/thumb.png
#
sensiblemn
should i just upload a new icon image in the subdirectory?
#
sensiblemn
will that mess up my main directory?
#
sensiblemn
i'm using the same mongo database for both the root and the subdirectory right now
#
benwerd
Oh, interesting. I'll take a look
#
sensiblemn
this is sort of a fringe problem i think and I am doing all of this in order to migrate to only use the subdirectory, so don't feel compelled to spend a ton of time on it for my sake.
#
benwerd
sensiblemn: I just committed a minor change. See if it helps
travis-ci joined the channel
#
travis-ci
idno/Known#2593 (master - 717ca24 : Ben Werdmuller): The build passed.
#
sensiblemn
thanks benwerd. will do.
cleverdevil joined the channel