Skip to content

Commit 368ba18

Browse files
author
Nik
committed
nginx: add recordfinder 2
1 parent 7ddb027 commit 368ba18

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

‎nginx/conf.d/default.conf‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ server {
7878
proxy_set_header X-Real-IP $remote_addr;
7979
}
8080

81-
location = /recordfinder {
82-
return 301 /recordfinder/;
81+
location = /recordfindertest {
82+
return 301 /recordfindertest/;
8383
}
8484

85-
location /recordfinder/ {
86-
proxy_pass http://recordfinder:3000/;
85+
location /recordfindertest/ {
86+
proxy_pass http://recordfindertest:3000/;
8787
proxy_set_header Host $host;
8888
proxy_set_header X-Real-IP $remote_addr;
8989
}
@@ -243,6 +243,16 @@ server {
243243
proxy_set_header X-Real-IP $remote_addr;
244244
}
245245

246+
location = /recordfinder {
247+
return 301 /recordfinder/;
248+
}
249+
250+
location /recordfinder/ {
251+
proxy_pass http://recordfinder:3000/;
252+
proxy_set_header Host $host;
253+
proxy_set_header X-Real-IP $remote_addr;
254+
}
255+
246256
location / {
247257
root /usr/share/nginx/html/apps;
248258
index index.html;

0 commit comments

Comments
 (0)