Migration Wordpress vers Yunohost + https

As tu trouvé une solution.

I had the same problem:
homepage OK
/pages  404

I did the following to fix this:
nano /etc/nginx/conf.d/MY-DOMAIN.ORG.d/my_webapp__X.conf
# Original code
# 	Default indexes and catch-all
# 	index index.html index.php;
# 	try_files $uri $uri/ /index.php?$args;

# New code
    	index index.php;
   	 if (!-e $request_filename)
  	  {
          rewrite ^(.+)$ /index.php?q=$1 last;
   	 }

Then I restartd nginx

sudo yunohost service stop nginx
sudo yunohost service start nginx

No more 404