Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
meshcentral-sur-lxc [2020/11/08 16:59] pielo [Meshcentral] |
meshcentral-sur-lxc [2021/12/26 10:35] (Version actuelle) pielo [Apache revese proxy] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Installation de Meshcentral sur LXC ====== | + | ====== Installation de Meshcentral sur LXC Ubuntu 18.04 ====== |
===== Liens ===== | ===== Liens ===== | ||
Ligne 9: | Ligne 9: | ||
<code bash> | <code bash> | ||
apt install net-tools bash-completion software-properties-common | apt install net-tools bash-completion software-properties-common | ||
- | |||
dpkg-reconfigure locales | dpkg-reconfigure locales | ||
Ligne 70: | Ligne 69: | ||
" | " | ||
" | " | ||
- | " | + | " |
} | } | ||
" | " | ||
- | "": | + | "": |
} | } | ||
} | } | ||
Ligne 82: | Ligne 81: | ||
- | ===== Apache | + | ===== Apache |
- | https:// | + | https:// |
<code apache> | <code apache> | ||
- | RewriteEngine | + | RewriteEngine |
- | RewriteCond %{HTTP:UPGRADE} ^WebSocket$ | + | RewriteCond %{HTTP:Upgrade} websocket [NC] |
- | RewriteCond %{HTTP:CONNECTION} Upgrade$ | + | RewriteCond %{HTTP:Connection} upgrade [NC] |
- | RewriteRule | + | RewriteRule . "ws://10.0.3.133:4430%{REQUEST_URI}" |
- | + | ProxyPass / http://10.0.3.133: | |
- | ProxyPass / http://127.0.0.1:4430/ | + | ProxyPassReverse / http:// |
- | + | ||
- | ProxyRequests Off | + | |
ProxyPreserveHost On | ProxyPreserveHost On | ||
</ | </ |