mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 21:37:49 -05:00
run nginx as part of boot script
This commit is contained in:
@@ -6,8 +6,8 @@ server {
|
||||
client_max_body_size 128M;
|
||||
|
||||
# serve media files
|
||||
location /media/ {
|
||||
alias /media/;
|
||||
location /media {
|
||||
alias /opt/recipes/mediafiles;
|
||||
add_header Content-Disposition 'attachment; filename="$args"';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user