feat: Add Kubernetes website module with configuration, resources, and NGINX setup

This commit is contained in:
2025-04-27 19:09:32 +02:00
parent 3c7c95c8ee
commit 761c183ce2
7 changed files with 141 additions and 0 deletions
@@ -0,0 +1,35 @@
server {
listen 8080;
server_name localhost;
gzip on;
gzip_comp_level 9;
gzip_types
text/html
text/plain
text/css
text/js
text/xml
text/javascript
application/javascript
application/json
application/xml
application/rss+xml
image/svg+xml;
root /tmp/site;
location / {
index index.html index.htm;
}
location ~* ^/([^/]+) {
index index.html index.htm;
error_page 404 = @error;
}
error_page 404 /404.html;
location @error {
try_files /$1/404.html /404.html =404;
}
}