Skip to content

Ajout d’un proxy HTTP / Add HTTP proxy #3050

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Hotfirenet opened this issue Apr 11, 2025 · 1 comment
Open

Ajout d’un proxy HTTP / Add HTTP proxy #3050

Hotfirenet opened this issue Apr 11, 2025 · 1 comment

Comments

@Hotfirenet
Copy link
Contributor

Version française

Votre demande de fonctionnalité est-elle liée à un problème ? Veuillez le décrire.
Il n'est pas possible d'inclure un conteneur Docker ou une URL externe dans une iframe au sein de Jeedom en raison des restrictions de sécurité des navigateurs.

Décrivez la solution que vous souhaitez
Ajouter un proxy HTTP dans le core de Jeedom permettant de relayer un conteneur Docker ou une URL externe dans une iframe. Ce proxy devrait permettre d’ajouter des fichiers de configuration et de vérifier la configuration Apache avant de redémarrer ou de tester dans un environnement isolé (bac à sable).

Décrivez les alternatives que vous avez envisagées
Aucune solution viable n'a été envisagée, à part des configurations manuelles ou des proxies externes.


English version

Is your feature request related to a problem? Please describe.
It is not possible to embed a Docker container or an external URL in an iframe within Jeedom due to browser security restrictions.

Describe the solution you'd like
Add an HTTP proxy to the core of Jeedom to relay a Docker container or an external URL into an iframe. This proxy should allow adding configuration files and verifying Apache settings before restarting or testing in a sandbox environment.

Describe alternatives you've considered
No viable alternatives have been considered other than manual configurations or external proxies.

@Hotfirenet
Copy link
Contributor Author

proxy
proxy_http
proxy_wstunnel 
<VirtualHost *:443>
  ServerName ws.test.local
  
  RewriteEngine on
  RewriteCond ${HTTP:Upgrade} websocket [NC]
  RewriteCond ${HTTP:Connection} upgrade [NC]
  RewriteRule .* "wss:/localhost:3000/$1" [P,L]
  
  ProxyPass / https://localhost:3000/
  ProxyPassReverse / https://localhost:3000/
  ProxyRequests off
</VirtualHost>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant