fix: Don't serve mediafiles directly anymore

This commit is contained in:
Niklas Arndt
2025-10-12 18:10:51 +02:00
committed by GitHub
parent 4b70c4a45b
commit e6eebb3a7b
-6
View File
@@ -1,7 +1,6 @@
## Version 2025/10/12 ## Version 2025/10/12
# make sure that your recipes container is named recipes # make sure that your recipes container is named recipes
# make sure that your dns has a cname set for recipes # make sure that your dns has a cname set for recipes
# make sure to mount /media/ in your swag container to point to your Recipes Media directory
server { server {
listen 443 ssl; listen 443 ssl;
@@ -27,11 +26,6 @@ server {
# enable for Tinyauth (requires tinyauth-location.conf in the location block) # enable for Tinyauth (requires tinyauth-location.conf in the location block)
#include /config/nginx/tinyauth-server.conf; #include /config/nginx/tinyauth-server.conf;
# serve media files
location /media/ {
alias /media/;
}
location / { location / {
# enable the next two lines for http auth # enable the next two lines for http auth
#auth_basic "Restricted"; #auth_basic "Restricted";