瀏覽代碼

UPDATE README.md

clement 2 年之前
父節點
當前提交
acb26f13c3
共有 1 個文件被更改,包括 8 次插入14 次删除
  1. 8 14
      README.md

+ 8 - 14
README.md

@@ -7,26 +7,20 @@ Bretzel Identity Manager ou BIM Identity Manager
 
 ## Installation
 
-* Clone this repo and serve the files with a web server.
-Make sure to exclude: `/vendor/` `templates` and `includes`
-* Rename `includes/config.ini.example` to `includes/config.ini` and edit the file with your parameters
+* Clone this repo.
+* Run `composer install` in root directory.
+* Serve the files with a web server (only the public directory should be served).
+* Make sure to exclude all the other files from being accessible.
+* Copy `includes/config.ini.example` to `includes/config.ini` and edit the file with your parameters.
 
 ### Example using caddy behind HTTPS reverse proxy
+>If BIM directory is under `/srv` :
 
 ```
 http://bim.example.org {
-	
-  @blocked {
-	path /vendor/* /templates/* /includes/*
-  }
-
-  respond @blocked 403
-
   handle {
-    root * /srv/bim
-    php_fastcgi caddy-phpfpm:9000 {
-	index signin.php
-    }
+    root * /srv/BIM/public
+    php_fastcgi caddy-phpfpm:9000
   }
 }
 ```