Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
some documentation for UNIX sockets
Browse files Browse the repository at this point in the history
  • Loading branch information
szelga committed Nov 8, 2014
1 parent 67f96e5 commit 5050563
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/server/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ and tries to upgrade to websockets if possible.
-----------------------

Used to decide on which address the ``omnibusd`` server binds.
Defaults to all addresses.
Defaults to all addresses. If ``OMNIBUS_SERVER_PORT`` is set to ``None``
then acts as a UNIX socket path.

``OMNIBUS_SERVER_PORT``
-----------------------

Sets the port on which the ``omnibusd`` listens. Defaults to ``4242``.
Set ``None`` for UNIX socket.

``OMNIBUS_SERVER_BASE_URL``
---------------------------
Expand Down
4 changes: 4 additions & 0 deletions docs/source/server/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ This enables `django-omnibus` with normal websocket support.
``OMNIBUS_AUTH_TOKEN`` to the template context. You can use these variables
to configure the JS library.

.. hint::

If you're using UNIX sockets then ``OMNIBUS_ENDPOINT`` variable is useless.

Using SockJS
------------

Expand Down

0 comments on commit 5050563

Please sign in to comment.