mirror of
https://github.com/YunoHost-Apps/gogs_ynh.git
synced 2024-09-03 20:36:23 +02:00
Fix
This commit is contained in:
parent
f2bf6d2faf
commit
98ea085760
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ RUN_MODE = prod
|
||||||
PROTOCOL = http
|
PROTOCOL = http
|
||||||
DOMAIN = __DOMAIN__
|
DOMAIN = __DOMAIN__
|
||||||
ROOT_URL = https://__URL__/
|
ROOT_URL = https://__URL__/
|
||||||
HTTP_ADDR = 127.0.0.1
|
HTTP_ADDR = 0.0.0.0
|
||||||
HTTP_PORT = __PORT__
|
HTTP_PORT = __PORT__
|
||||||
; Permission for unix socket
|
; Permission for unix socket
|
||||||
UNIX_SOCKET_PERMISSION = 666
|
UNIX_SOCKET_PERMISSION = 666
|
||||||
|
|
|
@ -6,7 +6,7 @@ name = Yunohost LDAP
|
||||||
is_activated = true
|
is_activated = true
|
||||||
|
|
||||||
[config]
|
[config]
|
||||||
host = 127.0.0.1
|
host = localhost
|
||||||
port = 389
|
port = 389
|
||||||
# 0 - Unencrypted, 1 - LDAPS, 2 - StartTLS
|
# 0 - Unencrypted, 1 - LDAPS, 2 - StartTLS
|
||||||
security_protocol = 0
|
security_protocol = 0
|
||||||
|
|
|
@ -6,7 +6,7 @@ location __PATH__/ {
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
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_set_header Host $host;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
fastcgi_param REMOTE_USER $remote_user;
|
fastcgi_param REMOTE_USER $remote_user;
|
||||||
|
|
Loading…
Reference in a new issue