Skip to content

Commit

Permalink
Merge pull request #1643 from rommapp/fix/ROMM_BASE_PATH-library
Browse files Browse the repository at this point in the history
fix: nginx configuration for library access when ROMM_BASE_PATH is set
  • Loading branch information
adamantike authored Feb 21, 2025
2 parents 8e65a60 + 8487d39 commit 4e8c107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/nginx/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ server {
# Internally redirect download requests
location /library/ {
internal;
alias /romm/library/;
alias "${ROMM_BASE_PATH}/library/";
}

# This location, and the related server at port 8081, are used to serve files when
Expand Down Expand Up @@ -76,6 +76,6 @@ server {
server_name localhost;

location /library/ {
alias /romm/library/;
alias "${ROMM_BASE_PATH}/library/";
}
}

0 comments on commit 4e8c107

Please sign in to comment.