Files
landingpage-haus-schleusingen/nginx.conf
Claw (KI-Assistent) 148b4849fd
All checks were successful
Deploy Feature Branch to Test / deploy (push) Successful in 25s
Lint / PHP Syntax Check (push) Successful in 32s
Lint / CSS Lint (stylelint) (push) Successful in 1m15s
Lint / HTML Lint (htmlhint) (push) Successful in 1m11s
Lint / PHP Syntax Check (pull_request) Successful in 34s
Lint / CSS Lint (stylelint) (pull_request) Successful in 1m15s
Lint / HTML Lint (htmlhint) (pull_request) Successful in 1m11s
fix: remove all references to old haus-schleusingen.html (refs #56)
2026-05-22 13:38:33 +00:00

25 lines
569 B
Nginx Configuration File
Executable File

server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.php;
# Gzip aktivieren
gzip on;
gzip_types text/css application/javascript image/svg+xml application/json text/xml;
gzip_min_length 256;
gzip_vary on;
location / {
try_files $uri $uri/ /index.php;
}
# Lange Cache-Dauer für Bilder und statische Assets
location ~* \.(jpg|jpeg|png|webp|gif|ico|svg|css|js|woff2?)$ {
expires 30d;
add_header Cache-Control "public, immutable";
access_log off;
}
}