1
0

wordpress.conf 165 B

1234567
  1. location / {
  2. try_files $uri $uri/ /index.php?$args;
  3. }
  4. rewrite /wp-admin$ $scheme://$host$uri/ permanent;
  5. location ~* ^/wp-content/uploads/.*\.php$ {
  6. deny all;
  7. }