diff options
author | Rémy Coutable <remy@rymai.me> | 2016-09-26 14:02:39 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-09-26 14:02:39 +0000 |
commit | c8d92f95954dd37e50af8d7a91271566f00cb25b (patch) | |
tree | 8c4d203dc1091f8afc1db34110d4fd7ba1db09e6 /public/deploy.html | |
parent | f1bfb872877df7baf36d2de1ad5dfdb4c8604c9b (diff) | |
parent | 3e95e69e290ef2ada6ea14fe3cd7afaf57024bdf (diff) | |
download | gitlab-ce-c8d92f95954dd37e50af8d7a91271566f00cb25b.tar.gz |
Merge branch 'patch-3' into 'master'
Robots and browsers should not crawl and remember deploy page
## What does this MR do?
Changing meta information for robots and browsers not to remember a page during deployment
## Why was this MR needed?
User browsers and robots takes the page content as accurate during deployment - HTTP code 200 is send to browser, it's all being remembered.
See merge request !5842
Diffstat (limited to 'public/deploy.html')
-rw-r--r-- | public/deploy.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/public/deploy.html b/public/deploy.html index 142472b6c35..49ec4ac5ce1 100644 --- a/public/deploy.html +++ b/public/deploy.html @@ -2,6 +2,11 @@ <html> <head> <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport"> + <meta name="refresh" content="60"> + <meta name="retry-after" content="100"> + <meta name="robots" content="noindex, nofollow, noarchive, nostore"> + <meta name="cache-control" content="no-cache, no-store"> + <meta name="pragma" content="no-cache"> <title>Deploy in progress</title> <style> body { @@ -61,4 +66,4 @@ <p>Please contact your GitLab administrator if this problem persists.</p> </div> </body> -</html> +</html>
\ No newline at end of file |