Hello! friends,
Help me please! I’ve created a subdomain “img” for images but it does not work.
MY COMMANDS:
1) - ee site create img.domain.com = (Ok!)
2) - I created DNS Record A point to IP domain = (Ok!)
3) - nano /etc/nginx/sites-available/domain.com = (Ok!)
4) - I added line…: sub_filter “domain.com/wp-content/uploads/” “img.domain.com/wp-content/uploads/”;
Is correct? something is missing?
The images are still in…: domain.com/wp-content/uploads/photo.jpg I wish…: img.domain.com/wp-content/uploads/photo.jpg
Thank you all for helping me. Regards,
Carlosara