mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
Fix path traversal in manual installation steps
This commit is contained in:
committed by
GitHub
parent
f47470a9ad
commit
969a91e751
@@ -180,11 +180,11 @@ server {
|
|||||||
#error_log /var/log/nginx/error.log;
|
#error_log /var/log/nginx/error.log;
|
||||||
|
|
||||||
# serve media files
|
# serve media files
|
||||||
location /static {
|
location /static/ {
|
||||||
alias /var/www/recipes/staticfiles;
|
alias /var/www/recipes/staticfiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /media {
|
location /media/ {
|
||||||
alias /var/www/recipes/mediafiles;
|
alias /var/www/recipes/mediafiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user