Publii: update content

This commit is contained in:
Marcel Schoengens
2026-01-11 22:36:36 +01:00
parent b7a066b121
commit 7ba417b114
3 changed files with 2 additions and 41 deletions
-9
View File
@@ -1,9 +0,0 @@
FROM nginx:alpine
COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf
COPY ./ /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
+2 -2
View File
File diff suppressed because one or more lines are too long
-30
View File
@@ -1,30 +0,0 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# Alle HTML-Seiten
location / {
try_files $uri $uri/ =404;
}
# Assets (CSS, JS, Bilder)
location /assets/ {
alias /usr/share/nginx/html/assets/;
try_files $uri =404;
autoindex off;
access_log off;
expires 7d; # optional: Browser-Cache für Assets
}
# Optional: Media/Uploads
location /media/ {
alias /usr/share/nginx/html/media/;
try_files $uri =404;
access_log off;
expires 7d;
}
}