Skip to content

Biigle served on subdirectory of domain? #340

Answered by mzur
cywhale asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not an expert in NGINX as reverse proxy but shouldn't this be enough?

upstream biigle {
  server 127.0.0.1:8008;
}

location /biigle/ {
  proxy_pass https://biigle/;
}

You shouldn't need a rewrite or an extra location for assets|vendor|... as this is handled by the webserver of the BIIGLE Docker container.

You also need to configure the APP_URL to the correct URL (with subdirectory) but this does not affect regular links in the application.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@mzur
Comment options

mzur Apr 15, 2021
Maintainer

@cywhale
Comment options

@mzur
Comment options

mzur Apr 16, 2021
Maintainer

@cywhale
Comment options

@mzur
Comment options

mzur Apr 16, 2021
Maintainer

Answer selected by mzur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants