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

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

[autopatch] Fix Host and X-Forwarded-For header spoofing
This commit is contained in:
eric_G 2023-10-28 18:05:04 +02:00 committed by GitHub
commit aef32383e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -6,6 +6,7 @@ It shall NOT be edited by hand.
# Huginn for YunoHost
[![Integration level](https://dash.yunohost.org/integration/huginn.svg)](https://dash.yunohost.org/appci/app/huginn) ![Working status](https://ci-apps.yunohost.org/ci/badges/huginn.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/huginn.maintain.svg)
[![Install Huginn with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=huginn)
*[Lire ce readme en français.](./README_fr.md)*

View file

@ -6,6 +6,7 @@ It shall NOT be edited by hand.
# Huginn pour YunoHost
[![Niveau dintégration](https://dash.yunohost.org/integration/huginn.svg)](https://dash.yunohost.org/appci/app/huginn) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/huginn.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/huginn.maintain.svg)
[![Installer Huginn avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=huginn)
*[Read this readme in english.](./README.md)*

View file

@ -20,7 +20,7 @@ location @huginn {
proxy_connect_timeout 300;
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-Forwarded-Ssl on;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;