1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kodi_ynh.git synced 2024-09-03 19:26:34 +02:00

Merge pull request #20 from YunoHost-Apps/autopatch-http_host

[autopatch] Fix Host and X-Forwarded-For header spoofing
This commit is contained in:
eric_G 2023-08-26 23:10:01 +02:00 committed by GitHub
commit 498d9708ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 15 deletions

View file

@ -5,7 +5,8 @@ It shall NOT be edited by hand.
# Kodi for YunoHost # Kodi for YunoHost
[![Integration level](https://dash.yunohost.org/integration/kodi.svg)](https://dash.yunohost.org/appci/app/kodi) ![Working status](https://ci-apps.yunohost.org/ci/badges/kodi.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/kodi.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/kodi.svg)](https://dash.yunohost.org/appci/app/kodi) ![Working status](https://ci-apps.yunohost.org/ci/badges/kodi.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/kodi.maintain.svg)
[![Install Kodi with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=kodi) [![Install Kodi with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=kodi)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
@ -20,7 +21,6 @@ Kodi is a media center and entertainment hub that brings all your digital media
**Shipped version:** 19.1~ynh1 **Shipped version:** 19.1~ynh1
## Screenshots ## Screenshots
![Screenshot of Kodi](./doc/screenshots/screenshot1.gif) ![Screenshot of Kodi](./doc/screenshots/screenshot1.gif)

View file

@ -5,31 +5,31 @@ It shall NOT be edited by hand.
# Kodi pour YunoHost # Kodi pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/kodi.svg)](https://dash.yunohost.org/appci/app/kodi) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/kodi.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/kodi.maintain.svg) [![Niveau dintégration](https://dash.yunohost.org/integration/kodi.svg)](https://dash.yunohost.org/appci/app/kodi) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/kodi.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/kodi.maintain.svg)
[![Installer Kodi avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=kodi) [![Installer Kodi avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=kodi)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer Kodi rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet dinstaller Kodi rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble ## Vue densemble
Kodi is a media center and entertainment hub that brings all your digital media together. It is 100% free and open source, very customisable and runs on a wide variety of devices. Users can play and view most videos, music, podcasts, games and other digital media files from local and network storage media and the internet. Kodi is a media center and entertainment hub that brings all your digital media together. It is 100% free and open source, very customisable and runs on a wide variety of devices. Users can play and view most videos, music, podcasts, games and other digital media files from local and network storage media and the internet.
**Version incluse :** 19.1~ynh1 **Version incluse :** 19.1~ynh1
## Captures décran
## Captures d'écran ![Capture décran de Kodi](./doc/screenshots/screenshot1.gif)
![Capture d'écran de Kodi](./doc/screenshots/screenshot1.gif)
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : <https://kodi.tv> * Site officiel de lapp : <https://kodi.tv>
* Documentation officielle de l'admin : <https://kodi.wiki/view/Main_Page> * Documentation officielle de ladmin : <https://kodi.wiki/view/Main_Page>
* Dépôt de code officiel de l'app : <https://github.com/xbmc> * Dépôt de code officiel de lapp : <https://github.com/xbmc>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_kodi> * Documentation YunoHost pour cette app : <https://yunohost.org/app_kodi>
* Signaler un bug : <https://github.com/YunoHost-Apps/kodi_ynh/issues> * Signaler un bug : <https://github.com/YunoHost-Apps/kodi_ynh/issues>
@ -45,4 +45,4 @@ ou
sudo yunohost app upgrade kodi -u https://github.com/YunoHost-Apps/kodi_ynh/tree/testing --debug sudo yunohost app upgrade kodi -u https://github.com/YunoHost-Apps/kodi_ynh/tree/testing --debug
``` ```
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps> **Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -2,7 +2,7 @@
location __PATH__/ { location __PATH__/ {
proxy_pass http://127.0.0.1:__PORT__/; proxy_pass http://127.0.0.1:__PORT__/;
proxy_set_header Host $http_host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme; proxy_set_header X-Scheme $scheme;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;