Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

kakallatt's avatar

How to config nginx to server static html website

When I created a site in Forge panel I already selected Static HTML, but the settings seems aren't difference with PHP project's settings.

And the server cannot read my CSS files. Everytime I access the CSS files, it will print the phpinfo();

Any idea about that? Thank you.

0 likes
4 replies
JohnBraun's avatar

Did you add ("install") your repository to the site you created within Forge?

siangboon's avatar

Sound like related to the default doc setting

Please or to participate in this conversation.