fix: include standard mime.types in nginx config
All checks were successful
poll-upstream / check (push) Successful in 1s

The custom types block replaced all default MIME types, causing
index.html to be served as application/octet-stream. Include the
system mime.types and only add the custom .rpm type on top.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-27 13:26:20 +03:00
parent 0ec89de36f
commit de96e7c687

View File

@@ -10,9 +10,9 @@ server {
root /var/www/rpm; root /var/www/rpm;
include /etc/nginx/mime.types;
types { types {
application/x-rpm rpm; application/x-rpm rpm;
application/xml xml;
} }
default_type application/octet-stream; default_type application/octet-stream;