Skip to content

Commit

Permalink
fix: Nginx alias_traversal warning
Browse files Browse the repository at this point in the history
  • Loading branch information
adamantike committed Feb 19, 2025
1 parent c32343c commit 3c4046e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/nginx/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ server {
}

# Internally redirect download requests
location /library {
location /library/ {
internal;
alias /romm/library;
alias /romm/library/;
}

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

location /library {
alias /romm/library;
location /library/ {
alias /romm/library/;
}
}

0 comments on commit 3c4046e

Please sign in to comment.