mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
[fix] HTTP proxy
This commit is contained in:
parent
116bdeff36
commit
2ffb52200c
1 changed files with 1 additions and 1 deletions
2
ynh-dev
2
ynh-dev
|
@ -313,7 +313,7 @@ EOF
|
||||||
success "Now using Git repository for yunohost-admin"
|
success "Now using Git repository for yunohost-admin"
|
||||||
cat <<EOF > /etc/nginx/conf.d/yunohost_admin.conf.inc
|
cat <<EOF > /etc/nginx/conf.d/yunohost_admin.conf.inc
|
||||||
location /yunohost/admin {
|
location /yunohost/admin {
|
||||||
proxy_pass https://localhost:8080/yunohost/admin;
|
proxy_pass http://localhost:8080/yunohost/admin;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_set_header Host \$host;
|
proxy_set_header Host \$host;
|
||||||
proxy_set_header X-Real-IP \$remote_addr;
|
proxy_set_header X-Real-IP \$remote_addr;
|
||||||
|
|
Loading…
Reference in a new issue