Skip to content

Commit

Permalink
Nginx path traversal fix
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rk3r committed Nov 11, 2021
1 parent 831284a commit 2374ed9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions nginx/nginx.conf
Expand Up @@ -132,7 +132,7 @@ http {
alias /frontend/static/dist/;
}

location /static/app {
location /static/app/ {
alias /code/webrecorder/static/;
}

Expand All @@ -155,12 +155,12 @@ http {
server {
listen 6090;

location /data/warcs {
alias /data/warcs;
location /data/warcs/ {
alias /data/warcs/;
}

location /data/storage {
alias /data/storage;
location /data/storage/ {
alias /data/storage/;
}
}

Expand Down Expand Up @@ -226,5 +226,3 @@ http {
}
}
}


0 comments on commit 2374ed9

Please sign in to comment.