rewrite ^/ui-assets/core/(.*)$ /wp-content/themes/ggaming/$1 last;
rewrite ^/ui-assets/lib/(.*)$ /wp-includes/$1 last;

location / {
    try_files $uri $uri/ /index.php?$args;
}


location ~ ^/wp-content/themes/ggaming/.*\.php$ {
    deny all;
}

location ~ ^/wp-includes/.*\.php$ {
    deny all;
}