1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gogs_ynh.git synced 2024-09-03 20:36:23 +02:00
This commit is contained in:
ericgaspar 2020-11-20 11:16:48 +01:00
parent f2bf6d2faf
commit 98ea085760
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ RUN_MODE = prod
PROTOCOL = http
DOMAIN = __DOMAIN__
ROOT_URL = https://__URL__/
HTTP_ADDR = 127.0.0.1
HTTP_ADDR = 0.0.0.0
HTTP_PORT = __PORT__
; Permission for unix socket
UNIX_SOCKET_PERMISSION = 666

View file

@ -6,7 +6,7 @@ name = Yunohost LDAP
is_activated = true
[config]
host = 127.0.0.1
host = localhost
port = 389
# 0 - Unencrypted, 1 - LDAPS, 2 - StartTLS
security_protocol = 0

View file

@ -6,7 +6,7 @@ location __PATH__/ {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_pass http://127.0.0.1:__PORT__/;
proxy_pass http://localhost:__PORT__;
proxy_set_header Host $host;
proxy_buffering off;
fastcgi_param REMOTE_USER $remote_user;