diff options
author | sualko <github@spam.herberth.eu> | 2013-12-17 13:04:23 +0400 |
---|---|---|
committer | sualko <github@spam.herberth.eu> | 2013-12-17 13:04:23 +0400 |
commit | 300aab34865db53550381e6838a01ffdc9975026 (patch) | |
tree | 138b9bd366cf541cdd2233633541250f0621673c /README.md | |
parent | 86d8ea56c0ff9670ecd5077315651afa34895380 (diff) |
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -50,9 +50,12 @@ You can configure oJSXC in the admin panel of owncloud. <dl> <dt>BOSH url</dt> - <dd>The url to your bosh server. Please beware of the SOP. If your XMPP server doesn't reside on the same host as your OwnCloud, use the Apache ProxyRequest or modify the CSP by defining 'custom_csp_policy' in OwnCloud's config.php(.</dd> - <dd>Example:</dd> - <dd>'custom_csp_policy' => 'default-src https://your.xmpp.server.com:* \'self\'; script-src \'self\' \'unsafe-eval\'; style-src \'self\' \'unsafe-inline\'; frame-src *; img-src *; font-src \'self\' data:; media-src *',</dd> + <dd>The url to your bosh server. Please beware of the SOP. If your XMPP server doesn't reside on the same host as your OwnCloud, use the Apache ProxyRequest or modify the CSP by defining 'custom_csp_policy' in OwnCloud's config.php. + <b>Example:</b> +<pre><code>/* Custom CSP policy, changing this will overwrite the standard policy */ +"custom_csp_policy" => "default-src 'self' https://your.xmpp.server.com:PORT; script-src 'self' 'unsafe-eval'; + style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *",</code></pre> + </dd> <dt>XMPP domain</dt> <dd>The domain of your Jabber ID.</dd> |