Browse Source

Merge pull request #545 from xbingW/main

添加 bing 支持
delong.wang 1 year ago
parent
commit
5d0a7f7a90
2 changed files with 7 additions and 0 deletions
  1. 3 0
      Dockerfile
  2. 4 0
      website/public/BingSiteAuth.xml

+ 3 - 0
Dockerfile

@@ -43,6 +43,9 @@ server {
     location /googlef97f8402f9139518.html {                                     \n\
     location /googlef97f8402f9139518.html {                                     \n\
         root /srv/website/public;                                               \n\
         root /srv/website/public;                                               \n\
     }                                                                           \n\
     }                                                                           \n\
+    location /BingSiteAuth.xml {                                                 \n\
+        root /srv/website/public;                                               \n\
+    }                                                                           \n\
     location / {                                                                \n\
     location / {                                                                \n\
         rewrite /posts/guide_introduction /docs/ permanent;                     \n\
         rewrite /posts/guide_introduction /docs/ permanent;                     \n\
         rewrite /posts/guide_install /docs/guide/install permanent;             \n\
         rewrite /posts/guide_install /docs/guide/install permanent;             \n\

+ 4 - 0
website/public/BingSiteAuth.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<users>
+	<user>3EF7E30C5A378E54709FA57D67499571</user>
+</users>