Skip to content

Commit

Permalink
docs: add hostname instructions for wss (#4900)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnfoo authored Sep 19, 2024
1 parent 9213e02 commit 7146c4c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions documentation/operators/src/nodes/proxy-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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/<ID>/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/<ID>/config/config.toml` and changing the following values :

- `announce_wss_port` in the `[entry_gateway]` section:

```
announce_wss_port = <WSS_PORT>
Expand All @@ -521,6 +525,12 @@ announce_wss_port = <WSS_PORT>
# announce_wss_port = 9001
```

- `hostname` in the `[host]` section:

```
hostname = '<HOSTNAME>'
```

8. Restart your `nym-node` :
```sh
systemctl restart nym-node
Expand Down

0 comments on commit 7146c4c

Please sign in to comment.