nginx + joomla issue with interlinks give 404 error

I have installed Nginx and migrated a joomla website i am facing two issue

  1. site is loading properly without SSL but when when i browser website with https:// CSS not loading properly. this issue not coming with apache.
  2. site interlinks are not working giving 404 error with nginx but when run the site with apache links are working fine.

nginx version :- nginx/1.0.15