¿Why ionic show a blank page if nginx redirect to url but if is in root ionic app is deployes?

In the nginx configuration file I put the folder of my ionic project as root and interpret it without problems, but when I redirect it from the configuration file where my ionic project is found it does not interpret it, it is exactly the same directory for two cases

nginxfileconf2