This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| visiesrv2_lxc_containers [2018/04/06 07:06] jpe | visiesrv2_lxc_containers [2018/06/15 14:15] (current) 143.169.49.96 | ||
|---|---|---|---|
| Line 112: | Line 112: | ||
| ===== reverse proxying via apache ===== | ===== reverse proxying via apache ===== | ||
| - | to address the different websites in the lxc containers, we use reverse proxying with apache2.  | + | to address the different websites in the lxc containers, we use reverse proxying with apache2. We define the lxc backends and there ip addresses in **/etc/hosts** (lso check that the ip addresses match with the above lxd_bridge.conf definitions): | 
| + | <code> | ||
| + | 127.0.0.1  localhost | ||
| + | 127.0.1.1  visionsrv2.ua.ac.be  visionsrv2 | ||
| + | 10.27.117.84  nextcloud_be | ||
| + | 10.27.117.9  openaudit_be | ||
| + | 10.27.117.144  visielab_be | ||
| + | 10.27.117.155  visielab-test_be | ||
| + | 10.27.117.250  visielab-test2_be | ||
| + | 10.27.117.55  visielab_wiki_be | ||
| + | </code> | ||
| + | |||
| + | For apache the following sites are available : | ||
| + | ^ site config ^ DNS ^ domain ^ LXC backend ^ description ^ | ||
| + | | visieinv | visieinv | ua.ac.be | openaudit_be | for inventory of the PC's at visionlab | | ||
| + | | visielab-pc | visielab-pc | ua.ac.be \\ uantwerpen.be | nextcloud_be | private cloud for visionlab , secured with a SSL certificate | | ||
| + | | visielab-ssl | visielab | ua.ac.be \\ uantwerpen.be | visielab-test_be | visielab's website, secured with a SSL certificate | | ||
| + | | visielab | visielab | ua.ac.be \\ uantwerpen.be | visielab-test_be | redirect of http to https | | ||
| + | | visielab-test | visielab-test | ua.ac.be | visielab-test2_be | visielab test website , to test things out | | ||
| + | | visielab-wiki | visiedoc | ua.ac.be | visielab_wiki_be | the dokuwiki website of visionlab | | ||