mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
update PORT
This commit is contained in:
parent
713494a9ee
commit
e7abcae7d9
3 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ location __PATH__/ {
|
|||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
proxy_pass http://127.0.0.1:8000/;
|
||||
proxy_pass http://127.0.0.1:__PORT__/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_buffering off;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "YunoHost Distbin app",
|
||||
"name": "Distbin",
|
||||
"id": "distbin",
|
||||
"packaging_format": 1,
|
||||
"description": {
|
||||
|
|
|
@ -80,7 +80,7 @@ ynh_app_setting_set $app language $language
|
|||
### - Remove the section "CLOSE A PORT" in the remove script
|
||||
|
||||
# Find a free port
|
||||
port=$(ynh_find_port 8095)
|
||||
port=$(ynh_find_port 8000)
|
||||
# Open this port
|
||||
#yunohost firewall allow --no-upnp TCP $port 2>&1
|
||||
ynh_app_setting_set $app port $port
|
||||
|
|
Loading…
Add table
Reference in a new issue