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
A server admin may want to proxy warmroast through nginx (or another web server) for several reasons such as authentication behind a username and password and TLS. When I attempted to do this via nginx, it worked correctly except that the paths given by warmroast are not relative. Specifically, the link to /stack and the styleheets do not take into account warmroast's new url. It should be noted that I am trying to run at a url like example.com/warmroast using the following nginx configuration:
As a workaround, you can use the nginx sub module to replace absolute URLs in WarmRoast's HTML output with relative ones. As an example, we're not using custom CSS, so we only have to rewrite the /stack resources:
A server admin may want to proxy warmroast through nginx (or another web server) for several reasons such as authentication behind a username and password and TLS. When I attempted to do this via nginx, it worked correctly except that the paths given by warmroast are not relative. Specifically, the link to /stack and the styleheets do not take into account warmroast's new url. It should be noted that I am trying to run at a url like example.com/warmroast using the following nginx configuration:
Perhaps a command line flag such as --relative-paths or --warmroast-http-root would be the best solution?
The text was updated successfully, but these errors were encountered: