Skip to content

Commit

Permalink
revert nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
Nguyen-Duc-Khai committed Nov 17, 2023
1 parent 3a569d6 commit f13e4f2
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ upstream portainer {
server portainer_air_checker:9000;
}

upstream emqx {
server emqx_air_checker:18083;
}

server {
listen 80;
listen [::]:80;
Expand Down Expand Up @@ -57,17 +53,6 @@ server {
}
}

server {
listen 1883;
listen [::]:1883;

server_name airchecker.online;

location / {
proxy_pass http://emqx_air_checker:1883;
}
}

server {
listen 80;
listen [::]:80;
Expand Down Expand Up @@ -111,8 +96,4 @@ server {
proxy_http_version 1.1;
proxy_pass http://portainer/api/websocket/;
}

location /mqtt-broker/ {
proxy_pass http://emqx/;
}
}

0 comments on commit f13e4f2

Please sign in to comment.