Fix #100: API endpoint enhancement
Bypassing Nginx for API call originated from Prosody (if Peertube >=5.1). Can also fix some Docker setup, which needed to set the prosody-peertube-uri settings.
This commit is contained in:
committed by
John Livingston
parent
f7a32e95d4
commit
609b9e99ec
@ -7,7 +7,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2023-07-27 13:12+0200\n"
|
||||
"POT-Creation-Date: 2023-08-02 17:04+0200\n"
|
||||
"PO-Revision-Date: 2023-07-21 00:49+0000\n"
|
||||
"Last-Translator: Victor Hampel <v.hampel@users.noreply.weblate.framasoft.org>\n"
|
||||
"Language-Team: German <https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat-documentation/de/>\n"
|
||||
@ -1603,6 +1603,17 @@ msgstr "Das Plugin wird mit einem AppImage geliefert, das zum Ausführen des [Pr
|
||||
msgid "This settings should only be used if the plugin is broken, and waiting for a patch."
|
||||
msgstr "Diese Einstellung sollte nur verwendet werden, wenn das Plugin defekt ist und auf einen Patch wartet."
|
||||
|
||||
#. type: Plain text
|
||||
#: build/documentation/pot_in/documentation/admin/settings.md
|
||||
#, no-wrap
|
||||
msgid "If this settings is left empty, and you are using Peertube >= 5.1 or later, the plugin will use values from your Peertube configuration file to guess on which interface and port request have to be done.\n"
|
||||
msgstr ""
|
||||
|
||||
#. type: Plain text
|
||||
#: build/documentation/pot_in/documentation/admin/settings.md
|
||||
msgid "In last resort, it will use your Peertube public URI. So, any API Call will go throught your Nginx server. This could fail in some case: for example if you are in a Docker container, where the public hostname does not resolve to the correct IP. In such case, try changing the \"{{% livechat_label prosody_peertube_uri_label %}}\" settings, by setting `http://127.0.0.1:9000` (assuming 9000 is the port on which Peertube listen, ask your instance administrators if you don't know)."
|
||||
msgstr ""
|
||||
|
||||
#. type: Plain text
|
||||
#: build/documentation/pot_in/documentation/admin/settings.md
|
||||
msgid "This setting enable XMPP clients to connect to the built-in Prosody server. For now, this option **only allows connections from localhost clients**."
|
||||
@ -1861,6 +1872,13 @@ msgstr ""
|
||||
msgid "In such case, try changing the \"{{% livechat_label prosody_peertube_uri_label %}}\" settings, by setting `http://127.0.0.1:9000` (assuming 9000 is the port on which Peertube listen, ask your instance administrators if you don't know)."
|
||||
msgstr ""
|
||||
|
||||
#. type: Plain text
|
||||
#: support/documentation/content/en/documentation/installation/troubleshooting.md
|
||||
#, fuzzy
|
||||
#| msgid "For the user documentation associated with these features, please refer to the [user documentation page](/peertube-plugin-livechat/documentation/user/xmpp_clients/)."
|
||||
msgid "Check the help for [this settings](/peertube-plugin-livechat/documentation/admin/settings/) for more information."
|
||||
msgstr "Die Benutzerdokumentation zu diesen Funktionen finden Sie auf der Seite [Benutzerdokumentation](/peertube-plugin-livechat/documentation/user/xmpp_clients/)."
|
||||
|
||||
#. type: Title ###
|
||||
#: support/documentation/content/en/documentation/installation/troubleshooting.md
|
||||
#, no-wrap
|
||||
|
Reference in New Issue
Block a user