Custom nginx *.conf.j2 files not copied over

I started over with a vagrant destroy just to be safe before posting. But I added a new rewrites.conf.j2 file in my roles/nginx/templates folder. And just to be safe, I created folders in that directory with the same file (only did this after the first time when it didn’t work). So it looks like

--templates
   --nginx.conf.j2
   --rewrites.conf.j2
   --wordpress.conf.j2
   --wordpress_multisite_subdirectories.conf.j2
   --mydomain.dev
      --rewrites.conf.j2
   --stg.mydomain.com
     --rewrites.conf.j2

But no matter what, when I do a vagrant up, on the guest server, /etc/nginx/includes.d/mydomain.dev is empty.

Note that the directory must be named includes.d and its subdirectories must match keys defined in wordpress_sites.

1 Like

AHHHHHHHHHHHHHHHHHHHHHHHH…!@*&##)$(&#$#%

My bad for reading too fast…how stupid of me.

This topic was automatically closed after 4 hours. New replies are no longer allowed.