Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Owain Jones
gliders-webserver
Commits
eb55a9cf
Commit
eb55a9cf
authored
8 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
redirect /dashboard.php to /dashboard
parent
aa09aee1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
gliders.nginx.conf
gliders.nginx.conf
+4
-0
gliders.nginx.prod.conf
gliders.nginx.prod.conf
+4
-0
No files found.
gliders.nginx.conf
View file @
eb55a9cf
...
@@ -45,6 +45,10 @@ server {
...
@@ -45,6 +45,10 @@ server {
try_files
$
uri
@
rewriteapp
;
try_files
$
uri
@
rewriteapp
;
}
}
location
/
dashboard
.
php
{
return
301
/
dashboard
;
}
location
/
mission
.
php
{
location
/
mission
.
php
{
return
301
/
missions
;
return
301
/
missions
;
}
}
...
...
This diff is collapsed.
Click to expand it.
gliders.nginx.prod.conf
View file @
eb55a9cf
...
@@ -49,6 +49,10 @@ server {
...
@@ -49,6 +49,10 @@ server {
try_files
$
uri
@
rewriteapp
;
try_files
$
uri
@
rewriteapp
;
}
}
location
/
dashboard
.
php
{
return
301
/
dashboard
;
}
location
/
mission
.
php
{
location
/
mission
.
php
{
return
301
/
missions
;
return
301
/
missions
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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