templates/configmap.yaml を更新
This commit is contained in:
@@ -40,6 +40,13 @@ data:
|
||||
set_real_ip_from 192.168.0.0/16;
|
||||
real_ip_recursive on;
|
||||
|
||||
# WordPress Multisite対応
|
||||
if (!-e $request_filename) {
|
||||
rewrite /wp-admin$ $scheme://$host$request_uri/ permanent;
|
||||
rewrite ^(/[^/]+)?(/wp-.*) $2 last;
|
||||
rewrite ^(/[^/]+)?(/.*\.php) $2 last;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user