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

6 lines
107 B
Plaintext

location /
{
try_files $uri $uri/ /index.php?$args;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;