fix: include standard mime.types in nginx config
All checks were successful
poll-upstream / check (push) Successful in 1s
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:
@@ -10,9 +10,9 @@ server {
|
||||
|
||||
root /var/www/rpm;
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
types {
|
||||
application/x-rpm rpm;
|
||||
application/xml xml;
|
||||
}
|
||||
default_type application/octet-stream;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user