1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/couchpotato_ynh.git synced 2024-09-03 18:16:22 +02:00

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

[autopatch] Fix Host and X-Forwarded-For header spoofing
This commit is contained in:
Tagada 2024-04-15 18:35:49 +02:00 committed by GitHub
commit 0ad7b57162
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 21 additions and 11 deletions

View file

@ -5,7 +5,8 @@ It shall NOT be edited by hand.
# CouchPotato for YunoHost
[![Integration level](https://dash.yunohost.org/integration/couchpotato.svg)](https://dash.yunohost.org/appci/app/couchpotato) ![Working status](https://ci-apps.yunohost.org/ci/badges/couchpotato.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/couchpotato.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/couchpotato.svg)](https://dash.yunohost.org/appci/app/couchpotato) ![Working status](https://ci-apps.yunohost.org/ci/badges/couchpotato.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/couchpotato.maintain.svg)
[![Install CouchPotato with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=couchpotato)
*[Lire ce readme en français.](./README_fr.md)*
@ -29,6 +30,10 @@ Download movies automatically, easily and in the best quality as soon as they ar
* Integrates automatically with [transmission_ynh](https://github.com/YunoHost-Apps/transmission_ynh) (or tries to...),
* Integrates [YunoHost multimedia](https://github.com/YunoHost-Apps/yunohost.multimedia) folder structure
## :red_circle: Antifeatures
- **Package not maintained**: This YunoHost package is not maintained and needs adoption.
## Documentation and resources
* Official app website: <https://couchpota.to>

View file

@ -5,34 +5,39 @@ It shall NOT be edited by hand.
# CouchPotato pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/couchpotato.svg)](https://dash.yunohost.org/appci/app/couchpotato) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/couchpotato.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/couchpotato.maintain.svg)
[![Niveau dintégration](https://dash.yunohost.org/integration/couchpotato.svg)](https://dash.yunohost.org/appci/app/couchpotato) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/couchpotato.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/couchpotato.maintain.svg)
[![Installer CouchPotato avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=couchpotato)
*[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer CouchPotato 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.*
> *Ce package vous permet dinstaller CouchPotato rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble
## Vue densemble
Download movies automatically, easily and in the best quality as soon as they are available.
**Version incluse :** 3.0.1~ynh4
## Captures d'écran
## Captures décran
![Capture d'écran de CouchPotato](./doc/screenshots/couchpotato_interface.png)
![Capture décran de CouchPotato](./doc/screenshots/couchpotato_interface.png)
## Avertissements / informations importantes
* Integrates automatically with [transmission_ynh](https://github.com/YunoHost-Apps/transmission_ynh) (or tries to...),
* Integrates [YunoHost multimedia](https://github.com/YunoHost-Apps/yunohost.multimedia) folder structure
## :red_circle: Fonctions indésirables
- **Package not maintained**: This YunoHost package is not maintained and needs adoption.
## Documentations et ressources
* Site officiel de l'app : <https://couchpota.to>
* Dépôt de code officiel de l'app : <https://github.com/CouchPotato/CouchPotatoServer>
* Site officiel de lapp : <https://couchpota.to>
* Dépôt de code officiel de lapp : <https://github.com/CouchPotato/CouchPotatoServer>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_couchpotato>
* Signaler un bug : <https://github.com/YunoHost-Apps/couchpotato_ynh/issues>
@ -48,4 +53,4 @@ ou
sudo yunohost app upgrade couchpotato -u https://github.com/YunoHost-Apps/couchpotato_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

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