Commit 9f73065f authored by Mark Harding's avatar Mark Harding

(chore): point /embed to /embed-static

parent bd0e6b30
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment