Skip to content

Commit

Permalink
(chore): point /embed to /embed-static
Browse files Browse the repository at this point in the history
  • Loading branch information
markharding committed Nov 12, 2020
1 parent bd0e6b3 commit 9f73065
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions containers/nginx/minds.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 / {
Expand Down Expand Up @@ -161,6 +163,10 @@ server {
}

location /robots.txt {
if ($host != 'www.minds.com') {
return 200 "User-agent: *\nDisallow: /\n";
}

rewrite ^(.+)$ /sitemaps/robots.txt last;
}

Expand Down

0 comments on commit 9f73065

Please sign in to comment.