Skip to content

Commit 96b86cf

Browse files
rotupatrickelectric
authored andcommitted
Fix nginx.conf syntax that I broke
Undo my introduction of invalid syntax in #2913, which breaks blueos. It turns out that you can't start a URL with a leading colon. The only reason I thought it gave the same results is because `service nginx reload` bailed when loading the new config, but left the server running with the same state.
1 parent 81e0589 commit 96b86cf

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

core/tools/nginx/nginx.conf

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -55,34 +55,34 @@ http {
5555

5656
location /ardupilot-manager/ {
5757
include cors.conf;
58-
proxy_pass :8000/;
58+
proxy_pass http://127.0.0.1:8000/;
5959
}
6060

6161
location /bag/ {
6262
include cors.conf;
63-
proxy_pass :9101/;
63+
proxy_pass http://127.0.0.1:9101/;
6464
}
6565

6666
location /beacon/ {
6767
include cors.conf;
68-
proxy_pass :9111/;
68+
proxy_pass http://127.0.0.1:9111/;
6969
proxy_set_header X-Real-IP $remote_addr;
7070
proxy_set_header X-Interface-Ip $server_addr;
7171
}
7272

7373
location /bridget/ {
7474
include cors.conf;
75-
proxy_pass :27353/;
75+
proxy_pass http://127.0.0.1:27353/;
7676
}
7777

7878
location /cable-guy/ {
7979
include cors.conf;
80-
proxy_pass :9090/;
80+
proxy_pass http://127.0.0.1:9090/;
8181
}
8282

8383
location /commander/ {
8484
include cors.conf;
85-
proxy_pass :9100/;
85+
proxy_pass http://127.0.0.1:9100/;
8686
}
8787

8888
location /docker/ {
@@ -93,22 +93,22 @@ http {
9393
}
9494

9595
location /file-browser/ {
96-
proxy_pass :7777/;
96+
proxy_pass http://127.0.0.1:7777/;
9797
}
9898

9999
location /helper/ {
100100
include cors.conf;
101-
proxy_pass :81/;
101+
proxy_pass http://127.0.0.1:81/;
102102
}
103103

104104
location /kraken/ {
105105
include cors.conf;
106-
proxy_pass :9134/;
106+
proxy_pass http://127.0.0.1:9134/;
107107
}
108108

109109
location /nmea-injector/ {
110110
include cors.conf;
111-
proxy_pass :2748/;
111+
proxy_pass http://127.0.0.1:2748/;
112112
}
113113

114114
location ^~ /logviewer/ {
@@ -122,7 +122,7 @@ http {
122122
proxy_hide_header Access-Control-Allow-Origin;
123123

124124
include cors.conf;
125-
proxy_pass :6040/;
125+
proxy_pass http://127.0.0.1:6040/;
126126
# next two lines are required for websockets
127127
proxy_set_header Upgrade $http_upgrade;
128128
proxy_set_header Connection "Upgrade";
@@ -133,7 +133,7 @@ http {
133133
proxy_hide_header Access-Control-Allow-Origin;
134134

135135
include cors.conf;
136-
proxy_pass :6021/;
136+
proxy_pass http://127.0.0.1:6021/;
137137
proxy_http_version 1.1;
138138
# next two lines are required for websockets
139139
proxy_set_header Upgrade $http_upgrade;
@@ -142,48 +142,48 @@ http {
142142

143143
location /mavlink-camera-manager/ {
144144
include cors.conf;
145-
proxy_pass :6020/;
145+
proxy_pass http://127.0.0.1:6020/;
146146
}
147147

148148
location /network-test/ {
149149
include cors.conf;
150-
proxy_pass :9120/;
150+
proxy_pass http://127.0.0.1:9120/;
151151
# next two lines are required for websockets
152152
proxy_set_header Upgrade $http_upgrade;
153153
proxy_set_header Connection "Upgrade";
154154
}
155155

156156
location /system-information/ {
157157
include cors.conf;
158-
proxy_pass :6030/;
158+
proxy_pass http://127.0.0.1:6030/;
159159
# next two lines are required for websockets
160160
proxy_set_header Upgrade $http_upgrade;
161161
proxy_set_header Connection "Upgrade";
162162
}
163163

164164
location /terminal/ {
165-
proxy_pass :8088/;
165+
proxy_pass http://127.0.0.1:8088/;
166166
# next two lines are required for websockets
167167
proxy_set_header Upgrade $http_upgrade;
168168
proxy_set_header Connection "Upgrade";
169169
}
170170

171171
location /version-chooser/ {
172172
include cors.conf;
173-
proxy_pass :8081/;
173+
proxy_pass http://127.0.0.1:8081/;
174174
proxy_buffering off;
175175
expires -1;
176176
add_header Cache-Control no-store;
177177
}
178178

179179
location /wifi-manager/ {
180180
include cors.conf;
181-
proxy_pass :9000/;
181+
proxy_pass http://127.0.0.1:9000/;
182182
}
183183

184184
location /ping/ {
185185
include cors.conf;
186-
proxy_pass :9110/;
186+
proxy_pass http://127.0.0.1:9110/;
187187
}
188188

189189
location / {

0 commit comments

Comments
 (0)