Skip to content

Commit b432d8a

Browse files
committed
Update nginx template
1 parent 9a49bbe commit b432d8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/searchengine.conf.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ server {
55

66
location /searchengine {
77

8-
proxy_pass http://127.0.0.1:5577/searchengine;
9-
proxy_redirect http://127.0.0.1:5577/searchengine $scheme://$server_name;
8+
proxy_pass http://127.0.0.1:{{ searchengine_published_port }}/{ searchengineurlprefix };
9+
proxy_redirect http://127.0.0.1:{{ searchengine_published_port }}/{{ searchengineurlprefix }} $scheme://$server_name;
1010
proxy_set_header Host $host/searchengine;
1111
}
1212
location /send_file/ {

0 commit comments

Comments
 (0)