Update docs/source/pgservice.rst

This commit is contained in:
AcuGIS 2024-07-14 21:21:35 +00:00
parent cefbc4b33a
commit 308121bf71
1 changed files with 10 additions and 3 deletions

View File

@ -36,9 +36,11 @@ When you add a Data Source in your control panel, it automatically adds an entry
.. code-block:: console
/var/www/data/qgis
/var/www/data/qgis/pg_service.conf
The same pg_service.conf entry is used on your local computer, but with the hostname pointed at your server. For example:
If you connect your QGIS Project to your PostGIS database, the same pg_service.conf entry is used on your local computer, but with the hostname pointed at your server.
For example, if our QuartzMap server is located at https://myserver.com, our hostname would be as below:
.. code-block:: console
@ -48,3 +50,8 @@ The same pg_service.conf entry is used on your local computer, but with the host
dbname=beedatabase
user=admin1
password=DfBJdQTtQv
.. raw:: html
<iframe width="1125" height="703" src="https://www.youtube.com/embed/5iT9VDKTxDM" title="Lizmap - The pg_service.conf file" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>