iainbryson's profile - activity
2018-04-17 16:48:18 -0500 | received badge | Nice Question (source) |
2016-12-24 16:40:18 -0500 | received badge | Notable Question (source) |
2016-12-22 09:21:43 -0500 | received badge | Student (source) |
2016-11-09 04:22:56 -0500 | received badge | Popular Question (source) |
2016-10-27 17:39:21 -0500 | answered a question | How to serve Askbot under a subpath in NGINX? If I understand you, that's what I think I'm doing, without success. When you say, 'edit the settings.py', do you mean something more than that ASKBOT_URL or ASKBOT_APP_URL? When you say, 'edit the nginx virtual config', do you mean something like: upstream askbot { least_conn; server askbot:8000 weight=10 max_fails=3 fail_timeout=30s; } server { listen 443 ssl; server_name root.foo.bar; location /askbot { proxy_pass http://askbot; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_redirect off; } location /m { proxy_pass http://askbot; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_redirect off; } ...? |
2016-10-26 04:48:28 -0500 | received badge | Famous Question (source) |
2016-10-21 10:16:02 -0500 | asked a question | How to serve Askbot 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:
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! |