mirror of
https://github.com/YunoHost-Apps/13ft_ynh.git
synced 2024-09-03 18:06:03 +02:00
fix
This commit is contained in:
parent
d46b8ed392
commit
93180d9787
3 changed files with 10 additions and 3 deletions
|
@ -2,7 +2,16 @@
|
|||
location __PATH__/ {
|
||||
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
proxy_set_header Host $host;
|
||||
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";
|
||||
more_set_headers "X-Frame-Options: ALLOWALL";
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
|
|
|
@ -39,7 +39,6 @@ pushd $install_dir
|
|||
ynh_exec_as $app python3 -m venv $install_dir/venv
|
||||
ynh_exec_as $app "$install_dir/venv/bin/pip" install --upgrade pip
|
||||
ynh_exec_as $app "$install_dir/venv/bin/pip" install -r requirements.txt
|
||||
ynh_exec_as $app "$install_dir/venv/bin/pip" install requests
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -63,7 +63,6 @@ pushd $install_dir
|
|||
ynh_exec_as $app python3 -m venv $final_path/venv
|
||||
ynh_exec_as $app "$install_dir/venv/bin/pip" install --upgrade pip
|
||||
ynh_exec_as $app "$install_dir/venv/bin/pip" install -r requirements.txt
|
||||
ynh_exec_as $app "$install_dir/venv/bin/pip" install requests
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue