mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
Fix ldap
This commit is contained in:
parent
8fe8600f61
commit
26cde22f59
3 changed files with 3 additions and 2 deletions
|
@ -8,4 +8,4 @@ config :pleroma, :ldap,
|
||||||
tls: false,
|
tls: false,
|
||||||
# tlsopts: [],
|
# tlsopts: [],
|
||||||
base: "ou=users,dc=yunohost,dc=org",
|
base: "ou=users,dc=yunohost,dc=org",
|
||||||
uid: "cn"
|
uid: "uid"
|
|
@ -10,6 +10,7 @@
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
||||||
proxy_pass http://localhost:__PORT__;
|
proxy_pass http://localhost:__PORT__;
|
||||||
|
|
||||||
|
|
|
@ -216,7 +216,7 @@ pushd $final_path/$app
|
||||||
--db-configurable Y"
|
--db-configurable Y"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
cat "../conf/ldap.exs" "$config"
|
cat "../conf/ldap.exs" >> "$config"
|
||||||
|
|
||||||
pushd $final_path/$app
|
pushd $final_path/$app
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue