1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00
galene_ynh/conf/nginx.conf
yalh76 ed1506fa3e
Upgrade (#94)
* 0.5.5 (#89)

* Upgrade binaries

* Auto-update README

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

* Auto-update README

* Update upgrade

* 0.6 (#91)

* 0.6

* Auto-update README

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

* Implement LDAP authentication

* Auto-update README

* Update upgrade

* Fix datadir

* Update scripts/install

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>

* Update scripts/install

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>

* Update conf/groupname-ldap.json

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>

* Fix upgrade from 0.6~ynh1 and before

* Upgrade to 0.6.1

* typo

* Update manifest.json

* Auto-update README

* Fix sources

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: ericgaspar <junk.eg@free.fr>
2022-10-14 09:13:16 +02:00

29 lines
889 B
Nginx Configuration File
Executable file

location /auth/ {
proxy_pass http://127.0.0.1:__LDAP_PORT__/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location / {
proxy_pass http://127.0.0.1:__PORT__/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}