From 7e866199270fe2364af6cbbe5215eb02c559014e Mon Sep 17 00:00:00 2001 From: pieter Date: Sat, 13 Dec 2025 10:43:04 +0000 Subject: [PATCH] =?UTF-8?q?templates/configmap.yaml=20=E3=82=92=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/configmap.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/configmap.yaml b/templates/configmap.yaml index 28c581a..2c4ddb9 100644 --- a/templates/configmap.yaml +++ b/templates/configmap.yaml @@ -51,9 +51,15 @@ data: try_files $uri $uri/ /index.php?$args; } + # WordPress管理画面 location ~ ^/(wp-admin|wp-login\.php) { try_files $uri $uri/ /index.php?$args; } + + # パーマリンク対応(投稿・固定ページ) + location ~ ^/(.+)$ { + try_files $uri $uri/ /index.php?$args; + } location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$;