You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 23 in the nginx.conf has the hostname & port number hard coded.
This could use the variable that is already required and being passed in as BACKENDURL as the value for line 23.
Maybe using the existing DeveLanCacheUI_Frontend/nginxconfig/30-setupenvironmentvariables.sh file to rewrite/update
Line23 of the nginx.conf at start-up?
This would allow the the backend and frontend to be on separate machines/hosts and allow people to change the compose
service names, or deploy without using a compose at all.
(as a side note, shouldn't Line 23 also be using the "Exposed" port number instead of :80 )
The text was updated successfully, but these errors were encountered:
This logic makes sure that when you query the frontend URL it's automatically passing the queries on to the backend (by it's container name). What you could do is simply specify a backend url and then ensure CORS works by placing NGINX Proxy Manager in between.
I'm not sure if that's what you want or if you're really looking to fix it this way?
I know this is almost a non-issue, But...
DeveLanCacheUI_Frontend/DeveLanCacheUI_Frontend/nginxconfig/nginx.conf
Line 23 in ab77e7a
Line 23 in the
nginx.conf
has the hostname & port number hard coded.This could use the variable that is already required and being passed in as
BACKENDURL
as the value for line 23.Maybe using the existing
DeveLanCacheUI_Frontend/nginxconfig/30-setupenvironmentvariables.sh
file to rewrite/updateLine23 of the
nginx.conf
at start-up?This would allow the the backend and frontend to be on separate machines/hosts and allow people to change the compose
service names, or deploy without using a compose at all.
(as a side note, shouldn't Line 23 also be using the "Exposed" port number instead of :80 )
The text was updated successfully, but these errors were encountered: