From 1ec396f5edbd019d296b57806e9f0bd264ace334 Mon Sep 17 00:00:00 2001 From: Miraty Date: Wed, 20 Jul 2022 20:06:29 +0200 Subject: [PATCH] Fix Arch for latest mkosi + absolute_redirect off; --- mkosi.extra/etc/nginx/nginx.conf | 2 ++ mkosi.postinst | 3 +++ 2 files changed, 5 insertions(+) diff --git a/mkosi.extra/etc/nginx/nginx.conf b/mkosi.extra/etc/nginx/nginx.conf index 776386e..86d3333 100644 --- a/mkosi.extra/etc/nginx/nginx.conf +++ b/mkosi.extra/etc/nginx/nginx.conf @@ -11,6 +11,8 @@ http { types_hash_max_size 1024; server_names_hash_bucket_size 128; + absolute_redirect off; + # Performance optimisation sendfile on; tcp_nopush on; diff --git a/mkosi.postinst b/mkosi.postinst index 660ebea..173c72f 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -88,4 +88,7 @@ if [[ $ID = "arch" ]]; then systemctl enable nginx systemctl enable tor systemctl enable php-fpm + + pacman-key --init + pacman-key --populate fi