diff --git a/docs/rolereference.rst b/docs/rolereference.rst index 7cc71b4bbd1810a6eb5d32e839b524754cb1bdd3..c50c4d97abe311127956cba7fe7cfc75c1089f4f 100644 --- a/docs/rolereference.rst +++ b/docs/rolereference.rst @@ -994,13 +994,11 @@ Parameters Examples ~~~~~~~~ -Here is an example configuration for setting-up a (base) PHP website (for running -``ownCloud`` application): +Here is an example configuration for setting-up two (base) PHP websites (for +running *ownCloud* and *The Bug Genie* applications): .. code-block:: yaml - --- - - role: php_website fqdn: cloud.example.com uid: 2001 @@ -1022,6 +1020,15 @@ Here is an example configuration for setting-up a (base) PHP website (for runnin - php5-json - php5-mysql - php5-curl + - role: php_website + admin: admin + deny_files_regex: + - ^\..* + php_rewrite_urls: + - ^(.*) /index.php?url=$1 + fqdn: tbg.example.com + uid: 2007 + WSGI Website