Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jsxc/jsxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsualko <github@spam.herberth.eu>2013-12-17 13:04:23 +0400
committersualko <github@spam.herberth.eu>2013-12-17 13:04:23 +0400
commit300aab34865db53550381e6838a01ffdc9975026 (patch)
tree138b9bd366cf541cdd2233633541250f0621673c /README.md
parent86d8ea56c0ff9670ecd5077315651afa34895380 (diff)
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index 536f9eb2..d3d8314e 100644
--- a/README.md
+++ b/README.md
@@ -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>