Revision history [back]

Serving under a subpath in NGINX

Hi there,

I'm trying to figure out how to host askbot under a subpath within our system.

So far I've tried investigating setting these:

 ASKBOT_APP_URL = "hach tee tee pee colon slash slash url.dk/askbot/" 

 ASKBOT_URL = 'askbot/' 

Neither worked.

I tried searching for a solution, but all I find is question 8211 (can't post link due to karma) from 2012.

And it seems they reference Apache in their (self-described) hack solutions.

So: (1) is there a "real" way to serve askbot from a subsite? (nginx proxying requests into the askbot, but the askbot generating URL for the subpath) (2) is there a hack for nginx?

Thanks!

 2 None Evgeny 13102 ●56 ●105 ●218 http://askbot.org/

Serving under a subpath in NGINX

Hi there,

I'm trying to figure out how to host askbot under a subpath within our system.

So far I've tried investigating setting these:

 ASKBOT_APP_URL = "hach tee tee pee colon slash slash url.dk/askbot/" 

 ASKBOT_URL = 'askbot/' 

Neither worked.

I tried searching for a solution, but all I find is question 8211 (can't post link due to karma) from 2012.

And it seems they reference Apache in their (self-described) hack solutions.

So: (1) is there a "real" way to serve askbot from a subsite? (nginx proxying requests into the askbot, but the askbot generating URL for the subpath) (2) is there a hack for nginx?

Thanks!