Welcome Guest, Not a member yet? Register   Sign In
PROXY IP
#1

[eluser]Unknown[/eluser]
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 ... :-S 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




Theme © iAndrew 2016 - Forum software by © MyBB