Skip to content
GitLab
Menu
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
0e963d73
Commit
0e963d73
authored
May 03, 2020
by
Aleks
Browse files
Make sure to protect againt path traversal issues?
parent
f3b2e3dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
conf/nginx.conf
View file @
0e963d73
...
...
@@ -4,13 +4,15 @@ location __PATH__/ {
return
302
__PATH__/fr
;
}
location
__PATH__/nl
{
alias
__FINALPATH__
;
rewrite
^__PATH__/nl
$
__PATH__/nl/
permanent
;
location
__PATH__/nl/
{
alias
__FINALPATH__/
;
index
index_nl.html
;
}
location
__PATH__/fr
{
alias
__FINALPATH__
;
rewrite
^__PATH__/fr
$
__PATH__/fr/
permanent
;
location
__PATH__/fr/
{
alias
__FINALPATH__/
;
index
index_fr.html
;
}
scripts/install
View file @
0e963d73
...
...
@@ -23,7 +23,6 @@ domain=$YNH_APP_ARG_DOMAIN
path_url
=
$YNH_APP_ARG_PATH_URL
app
=
$YNH_APP_INSTANCE_NAME
app_user
=
$app
nginx_path
=
/etc/nginx/conf.d/
$domain
.d/
$app
.conf
#==================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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