diff options
author | EuAndreh <eu@euandre.org> | 2025-07-12 12:44:57 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-07-12 19:04:55 -0300 |
commit | 9c436b62f2a02348196340b87fd7d91a7d569037 (patch) | |
tree | 747e9a053da04d9fac1c29ad31b5eecae49631c8 /src | |
parent | src/guix/system.scm: Add config for having pijul on the server (diff) | |
download | server-9c436b62f2a02348196340b87fd7d91a7d569037.tar.gz server-9c436b62f2a02348196340b87fd7d91a7d569037.tar.xz |
* src/guix/system.scm (nginx-server-configuration) <raw-content>: Add
custom MIME types.
Diffstat (limited to 'src')
-rw-r--r-- | src/guix/system.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/guix/system.scm b/src/guix/system.scm index 8aac00a..8105e95 100644 --- a/src/guix/system.scm +++ b/src/guix/system.scm @@ -167,6 +167,23 @@ charset utf-8; autoindex on; add_header Strict-Transport-Security 'max-age=31536000; includeSubdomains' always; + types { + text/html html; + text/css css; + text/javascript mjs; + text/xml xml; + text/plain txt; + application/atom+xml atom; + application/gzip gz; + application/pdf pdf; + application/x-bittorrent torrent; + image/vnd.microsoft.icon ico; + image/png png; + image/svg+xml svg; + audio/flac flac; + audio/ogg ogg; + video/webm webm; + } "#))))))) (service cgit-service-type q:cgit-pre-configuration) (service pkg:syskeep-service-type |