no css and js on nginx

by felixqu, (4653 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, (4653 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, (4651 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, (4651 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, (4287 days ago) @ felixqu

Hi,

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

RSS Feed of thread