EllisLab text mark
Advanced Search
     
PROXY IP
Posted: 18 August 2012 09:15 AM
Joined: 2012-08-18
1 posts

Hiiii, I am a newbie in CI.

First please forgive me because I am not good in English
I want to ask about proxy ip. Here’s my Problem :

I use a server in a local ip, say: 192.168.1.10
Then I want to publish my ci app via my static public ip with port : say: 118.93.135.78:2013.
router is set to destination to local ip I mentioned above (192.168.1.10) if there is any request from public ip.

in CI, i set base_url and proxy_ip with config below:
$config[‘base_url’] = “http://192.168.1.10/”;
$config[‘proxy_ips’] = ‘118.93.135.78:2013’;

but that config above when wrong ... confused if I request from public ip.
I am trying to get my apps running well both local and public ip

So, how do I configure proxy ip with such setting as above???

regard, harisbag