no css and js on nginx

by felixqu, (4884 days ago)

Hi there.
I used the conf from wiki.
My data/* and public/ have been set to 777.
But there is still no any format on my site, and the error.log is empty.
Could anyone help me?

Thank you very much!

no css and js on nginx

by Darkwing, (4884 days ago) @ felixqu

Hi there.
I used the conf from wiki.

wiki? Did you mean the forum?

My data/* and public/ have been set to 777.
But there is still no any format on my site, and the error.log is empty.
Could anyone help me?

Do you use the server for more than one application?
Do you use SSL?
When you look into the page-source, is the css-file and the js-file referred as http or https?


Thank you very much!

no css and js on nginx

by mr_intimement, (4883 days ago) @ felixqu

Hi,

Do you request your server by IP or by Name?

try only with the "name_server" in the nginx conf.

no css and js on nginx

by felixqu, (4882 days ago) @ mr_intimement

Hi,

Do you request your server by IP or by Name?

try only with the "name_server" in the nginx conf.

Hi,
No, I only requested server_name in the conf, no IP.
Thanks.

no css and js on nginx

by garfunx, (4518 days ago) @ felixqu

Hi,

I have the same problem, did someone manage to fix it?

RSS Feed of thread