浏览代码

No well-known directory for gnusocial or postactiv

Bob Mottram 9 年前
父节点
当前提交
96af60614e
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2
    2
      src/freedombone-app-gnusocial
  2. 2
    2
      src/freedombone-app-postactiv

+ 2
- 2
src/freedombone-app-gnusocial 查看文件

607
         echo '    deny all;' >> $gnusocial_nginx_site
607
         echo '    deny all;' >> $gnusocial_nginx_site
608
         echo '  }' >> $gnusocial_nginx_site
608
         echo '  }' >> $gnusocial_nginx_site
609
         echo '' >> $gnusocial_nginx_site
609
         echo '' >> $gnusocial_nginx_site
610
-        nginx_keybase $GNUSOCIAL_DOMAIN_NAME
610
+        # DO NOT ENABLE KEYBASE. gnusocial really doesn't like having a .well-known directory
611
         echo '}' >> $gnusocial_nginx_site
611
         echo '}' >> $gnusocial_nginx_site
612
     else
612
     else
613
         echo -n '' > $gnusocial_nginx_site
613
         echo -n '' > $gnusocial_nginx_site
652
     echo '    deny all;' >> $gnusocial_nginx_site
652
     echo '    deny all;' >> $gnusocial_nginx_site
653
     echo '  }' >> $gnusocial_nginx_site
653
     echo '  }' >> $gnusocial_nginx_site
654
     echo '' >> $gnusocial_nginx_site
654
     echo '' >> $gnusocial_nginx_site
655
-    nginx_keybase $GNUSOCIAL_DOMAIN_NAME
655
+    # DO NOT ENABLE KEYBASE. gnusocial really doesn't like having a .well-known directory
656
     echo '}' >> $gnusocial_nginx_site
656
     echo '}' >> $gnusocial_nginx_site
657
 
657
 
658
     function_check configure_php
658
     function_check configure_php

+ 2
- 2
src/freedombone-app-postactiv 查看文件

452
         echo '    deny all;' >> $postactiv_nginx_site
452
         echo '    deny all;' >> $postactiv_nginx_site
453
         echo '  }' >> $postactiv_nginx_site
453
         echo '  }' >> $postactiv_nginx_site
454
         echo '' >> $postactiv_nginx_site
454
         echo '' >> $postactiv_nginx_site
455
-        nginx_keybase ${POSTACTIV_DOMAIN_NAME}
455
+        # DO NOT ENABLE KEYBASE. postactiv really doesn't like having a .well-known directory
456
         echo '}' >> $postactiv_nginx_site
456
         echo '}' >> $postactiv_nginx_site
457
     else
457
     else
458
         echo -n '' > $postactiv_nginx_site
458
         echo -n '' > $postactiv_nginx_site
497
     echo '    deny all;' >> $postactiv_nginx_site
497
     echo '    deny all;' >> $postactiv_nginx_site
498
     echo '  }' >> $postactiv_nginx_site
498
     echo '  }' >> $postactiv_nginx_site
499
     echo '' >> $postactiv_nginx_site
499
     echo '' >> $postactiv_nginx_site
500
-    nginx_keybase ${POSTACTIV_DOMAIN_NAME}
500
+    # DO NOT ENABLE KEYBASE. postactiv really doesn't like having a .well-known directory
501
     echo '}' >> $postactiv_nginx_site
501
     echo '}' >> $postactiv_nginx_site
502
 
502
 
503
     function_check configure_php
503
     function_check configure_php