1Panel/cmd/server/nginx_conf/rewrite/wordpress.conf

6 lines
107 B
Plaintext
Raw Normal View History

2023-04-14 16:01:06 +08:00
location /
{
try_files $uri $uri/ /index.php?$args;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;