Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Minds
Minds
Commits
9f73065f
Commit
9f73065f
authored
Nov 12, 2020
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(chore): point /embed to /embed-static
parent
bd0e6b30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
containers/nginx/minds.conf
containers/nginx/minds.conf
+6
-0
No files found.
containers/nginx/minds.conf
View file @
9f73065f
...
...
@@ -69,6 +69,8 @@ server {
add_header
'Access-Control-Allow-Origin'
*;
add_header
X
-
Frame
-
Options
""
;
add_header
X
-
Robots
-
Tag
"noindex, nofollow, nosnippet, noarchive"
;
rewrite
^(.+)$ /
embed
-
static
/
en
/
embed
.
html
last
;
}
location
/ {
...
...
@@ -161,6 +163,10 @@ server {
}
location
/
robots
.
txt
{
if
($
host
!=
'www.minds.com'
) {
return
200
"User-agent: *\nDisallow: /\n"
;
}
rewrite
^(.+)$ /
sitemaps
/
robots
.
txt
last
;
}
...
...
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