to get a basic mqtt
This commit is contained in:
@@ -21,14 +21,19 @@ log_facility 5
|
||||
|
||||
## Nginx router
|
||||
|
||||
Install nginx
|
||||
In case mosquitto is not facing internet directly, a proxy server may needed. Caddy do not work, only nginx.
|
||||
|
||||
To install nginx
|
||||
```
|
||||
sudo dnf install nginx
|
||||
sudo dnf install nginx nginx-mod-stream
|
||||
```
|
||||
conf file [here](nginx.conf)
|
||||
|
||||
```
|
||||
check firewal and selinux in case of problem
|
||||
sudo firewall-cmd --permanent --zone=public --add-port=8883/tcp
|
||||
sudo firewall-cmd --reload
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user