run nginx as part of boot script

This commit is contained in:
vabene1111
2025-07-28 22:06:55 +02:00
parent 21526fb676
commit a4308f9864
3 changed files with 4 additions and 3 deletions

View File

@@ -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"';
}