summaryrefslogtreecommitdiff
path: root/htroot/Settings_ServerAccess.inc
diff options
context:
space:
mode:
authorLukas Fülling <lukas@k40s.net>2022-01-11 17:10:48 +0100
committerLukas Fülling <lukas@k40s.net>2022-01-11 17:10:48 +0100
commite8a00007f6156ca356bf635af7dcda4b07c748c3 (patch)
tree0ba8a25d287c53bb186801c3e10676aa92a33808 /htroot/Settings_ServerAccess.inc
parentc94b9b8197a6af0b1b315f1200c9faff4ca3bd96 (diff)
add setting for public facing port
Diffstat (limited to 'htroot/Settings_ServerAccess.inc')
-rw-r--r--htroot/Settings_ServerAccess.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/htroot/Settings_ServerAccess.inc b/htroot/Settings_ServerAccess.inc
index 314873437..9be7909fa 100644
--- a/htroot/Settings_ServerAccess.inc
+++ b/htroot/Settings_ServerAccess.inc
@@ -31,6 +31,15 @@
you will not be able to access the server pages anymore.</td>
</tr>
<tr valign="top">
+ <td><label for="publicPort">publicPort (optional):</label></td>
+ <td><input name="publicPort" id="publicPort" aria-describedby="publicPortInfo" type="text" size="32" maxlength="80" value="#[publicPort]#" /></td>
+ <td id="publicPortInfo"><strong>The publicPort can help that your peer can be reached by other peers in case that your
+ peer is behind a reverse proxy.</strong>
+ If the port used to access YaCy is the same port the application is listening on,
+ you don't need to set anything here, please leave it blank.<br />
+ </td>
+ </tr>
+ <tr valign="top">
<td><label for="fileHost">fileHost:</label></td>
<td><input name="fileHost" id="fileHost" aria-describedby="fileHostInfo" type="text" size="32" maxlength="80" value="#[fileHost]#" /><br />(requires restart)</td>
<td id="fileHostInfo"><strong>Set this to avoid error-messages like 'proxy use not allowed / granted' on accessing your Peer by its hostname.</strong>