avjui / Gamez

Automated Video Game Download for Sabnzbd
33 stars 11 forks source link

[Feature request] Reverse proxy support #51

Open ghost opened 12 years ago

ghost commented 12 years ago

Hi,

Gamez is a good job ! Can you add reverse proxy support (web root dir) ?

Thx!

avjui commented 12 years ago

I don't know what reverse proxy is and do? Please can you explain that.

ghost commented 12 years ago

It's a web front-end server (like apache) . This feature allows you not to have to open a port on the internet for each web application

Exemple of configuration in apache2 (with proxy_http module enable):

<Location /gamez/> ProxyPass http://127.0.0.1:GAMEZ_PORT/gamez/ ProxyPassReverse http://127.0.0.1:GAMEZ_PORT/gamez/

After adding this feature and add this Apache configuration, you can access Gamez with this URL: http://SERVER_IP/gamez/

in headphones the name of this feature is 'http_root' in configuration file in sickbeard the name of this feature is 'web_root' in configuration file in couchpotatoV2 the name of this feature is 'url_base' in configuration file

avjui commented 12 years ago

I would have a look at that but it is not my first priority. But patches are welcome ;-)

ghost commented 12 years ago

I am not a developer :/