Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neutrinet
neutrinet_ynh
Commits
c6324f2d
Commit
c6324f2d
authored
Dec 14, 2019
by
HgO
Browse files
Fix 404 error on static page
parent
68e0ade7
Changes
3
Hide whitespace changes
Inline
Side-by-side
conf/nginx.conf
View file @
c6324f2d
location
PATHTOCHANGE
/
{
location
PATHTOCHANGE
{
alias
ALIASTOCHANGE
;
index
index.html
;
}
scripts/install
View file @
c6324f2d
...
...
@@ -42,6 +42,8 @@ fi
# Normalize the url path syntax
path_url
=
$(
ynh_normalize_url_path
$path_url
)
# Trim trailing slashes
path_url
=
$(
sed
's@*/$@@'
<<<
$path_url
)
# Check web path availability
if
!
ynh_webpath_available
$domain
$path_url
...
...
scripts/upgrade
View file @
c6324f2d
...
...
@@ -63,6 +63,12 @@ if [[ -z $path_url ]]; then
fi
fi
if
[[
$path_url
==
*
/
]]
;
then
# Trim trailing slashes
path_url
=
$(
sed
's@/*$@@'
<<<
$path_url
)
ynh_app_setting_set
$app
path_url
$path_url
fi
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#=================================================
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment