Add port to /link location

This commit is contained in:
Darren Clarke 2025-02-06 20:56:46 +01:00
parent 9283227074
commit b75f5c88d7

View file

@ -19,7 +19,7 @@ ARG EMBEDDED=false
RUN if [ "$EMBEDDED" = "true" ] ; then sed -i '/location \/ {/i \ RUN if [ "$EMBEDDED" = "true" ] ; then sed -i '/location \/ {/i \
\ \n\ \ \n\
\ location /link {\n\ \ location /link {\n\
\ proxy_pass http://link;\n\ \ proxy_pass http://link:3000;\n\
\ proxy_set_header Host $host;\n\ \ proxy_set_header Host $host;\n\
\ proxy_set_header X-Real-IP $remote_addr;\n\ \ proxy_set_header X-Real-IP $remote_addr;\n\
\ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n\ \ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n\