2014-05-30, 00:25
Hey, firstly thanks for this great piece of software.
I got this all set up as intended, but I am trying to run the entire apache setup behind an nginx reverse proxy. The setup on the nginx side, I can do, but I would also need an ability to set a base path in the application, as my url would look something like this:
http://example.com/streaming/...
where "..." would be anything provided by apache. The application redirects to "http://example.com/..." however, making the entire thing unusable.
It would be great if you could point me in the right direction to solve this, as I tried digging through some of the yii framework configs, which resulted in a looped url on http://example.com/streaming/site/login after I tried inserting this:
into protected/config/main.php.
Btw, obviously example.com is not the actual url
I got this all set up as intended, but I am trying to run the entire apache setup behind an nginx reverse proxy. The setup on the nginx side, I can do, but I would also need an ability to set a base path in the application, as my url would look something like this:
http://example.com/streaming/...
where "..." would be anything provided by apache. The application redirects to "http://example.com/..." however, making the entire thing unusable.
It would be great if you could point me in the right direction to solve this, as I tried digging through some of the yii framework configs, which resulted in a looped url on http://example.com/streaming/site/login after I tried inserting this:
PHP Code:
'request'=>array(
'baseUrl'=>'http://example.com/streaming'
)
Btw, obviously example.com is not the actual url