From 7146c4c012ba7012dc74edc8510bbf377dc32fba Mon Sep 17 00:00:00 2001 From: Sachin Kamath Date: Thu, 19 Sep 2024 14:25:28 +0530 Subject: [PATCH] docs: add hostname instructions for wss (#4900) --- .../operators/src/nodes/proxy-configuration.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/documentation/operators/src/nodes/proxy-configuration.md b/documentation/operators/src/nodes/proxy-configuration.md index c0ea85ce08..2e51839eea 100644 --- a/documentation/operators/src/nodes/proxy-configuration.md +++ b/documentation/operators/src/nodes/proxy-configuration.md @@ -496,7 +496,7 @@ server { ``` ~~~ -4. Activate the configuration by creating a simlink to `/etc/nginx/sites-enabled`: +4. Activate the configuration by creating a symlink to `/etc/nginx/sites-enabled`: ```sh ln -s /etc/nginx/sites-available/wss-config-nym /etc/nginx/sites-enabled ``` @@ -512,7 +512,11 @@ systemctl restart nginx ``` -7. Finally, configure your `nym-node` to announce the port you have setup. This is done by opening your node configuration file located at `~/.nym/nym-nodes//config/config.toml` and changing the value of the line `announce_wss_port` in the `[entry_gateway]` section: +7. Finally, configure your `nym-node` to announce the port and hostname you have setup. + +This is done by opening your node configuration file located at `~/.nym/nym-nodes//config/config.toml` and changing the following values : + +- `announce_wss_port` in the `[entry_gateway]` section: ``` announce_wss_port = @@ -521,6 +525,12 @@ announce_wss_port = # announce_wss_port = 9001 ``` +- `hostname` in the `[host]` section: + +``` +hostname = '' +``` + 8. Restart your `nym-node` : ```sh systemctl restart nym-node