Skip to content

Commit 7ddb027

Browse files
author
Nik
committed
nginx: add rw-gnr-admin
1 parent a66d65e commit 7ddb027

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎nginx/conf.d/default.conf‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,16 @@ server {
233233
proxy_set_header X-Real-IP $remote_addr;
234234
}
235235

236+
location = /rw-gnr-admin {
237+
return 301 /rw-gnr-admin/;
238+
}
239+
240+
location /rw-gnr-admin/ {
241+
proxy_pass http://rw-gnr-admin:3000/;
242+
proxy_set_header Host $host;
243+
proxy_set_header X-Real-IP $remote_addr;
244+
}
245+
236246
location / {
237247
root /usr/share/nginx/html/apps;
238248
index index.html;

0 commit comments

Comments
 (0)