Revision e3ff6830 docs/quick-install-admin-guide.rst
b/docs/quick-install-admin-guide.rst | ||
---|---|---|
581 | 581 |
|
582 | 582 |
ASTAKOS_COOKIE_DOMAIN = '.example.com' |
583 | 583 |
|
584 |
ASTAKOS_BASEURL = 'https://node1.example.com' |
|
584 |
ASTAKOS_BASE_URL = 'https://node1.example.com'
|
|
585 | 585 |
|
586 | 586 |
The ``ASTAKOS_COOKIE_DOMAIN`` should be the base url of our domain (for all |
587 |
services). ``ASTAKOS_BASEURL`` is the astakos home page.
|
|
587 |
services). ``ASTAKOS_BASE_URL`` is the astakos top-level URL.
|
|
588 | 588 |
|
589 | 589 |
``ASTAKOS_DEFAULT_ADMIN_EMAIL`` refers to the administrator's email. |
590 | 590 |
Every time a new account is created a notification is sent to this email. |
... | ... | |
834 | 834 |
|
835 | 835 |
.. code-block:: console |
836 | 836 |
|
837 |
ASTAKOS_URL = 'https://node1.example.com/' |
|
837 |
ASTAKOS_BASE_URL = 'https://node1.example.com/'
|
|
838 | 838 |
|
839 | 839 |
PITHOS_BACKEND_DB_CONNECTION = 'postgresql://synnefo:example_passw0rd@node1.example.com:5432/snf_pithos' |
840 | 840 |
PITHOS_BACKEND_BLOCK_PATH = '/srv/pithos/data' |
... | ... | |
857 | 857 |
``/srv/pithos/data``, which is visible by both nodes. We have already setup this |
858 | 858 |
directory at node1's "Pithos data directory setup" section. |
859 | 859 |
|
860 |
The ``ASTAKOS_URL`` option tells to the Pithos app in which URI
|
|
861 |
is available the astakos authentication api.
|
|
860 |
The ``ASTAKOS_BASE_URL`` option informs the Pithos app where Astakos is.
|
|
861 |
The Astakos service is used for user management (authentication, quotas, etc.)
|
|
862 | 862 |
|
863 | 863 |
The ``PITHOS_SERVICE_TOKEN`` should be the Pithos token returned by running on |
864 | 864 |
the Astakos node (node1 in our case): |
... | ... | |
1682 | 1682 |
|
1683 | 1683 |
.. code-block:: console |
1684 | 1684 |
|
1685 |
ASTAKOS_URL = 'https://node1.example.com/' |
|
1685 |
CYCLADES_BASE_URL = 'https://node1.example.com/cyclades' |
|
1686 |
ASTAKOS_BASE_URL = 'https://node1.example.com/astakos' |
|
1686 | 1687 |
|
1687 | 1688 |
# Set to False if astakos & cyclades are on the same host |
1688 | 1689 |
CYCLADES_PROXY_USER_SERVICES = False |
1689 | 1690 |
|
1690 |
The ``ASTAKOS_URL`` denotes the authentication endpoint for Cyclades and is set |
|
1691 |
to point to Astakos (this should have the same value with Pithos's |
|
1692 |
``ASTAKOS_URL``, setup :ref:`previously <conf-pithos>`). |
|
1691 |
The ``ASTAKOS_BASE_URL`` denotes the Astakos endpoint for Cyclades, |
|
1692 |
which is used for all user management, including authentication. |
|
1693 |
Since our Astakos, Cyclades, and Pithos installations belong together, |
|
1694 |
they should all have identical ``ASTAKOS_BASE_URL`` setting |
|
1695 |
(see also, :ref:`previously <conf-pithos>`). |
|
1693 | 1696 |
|
1694 | 1697 |
.. warning:: |
1695 | 1698 |
|
Also available in: Unified diff