diff --git a/docs/en/next/publishing.html b/docs/en/next/publishing.html index eb49a0fb1c..6ee693b2d1 100644 --- a/docs/en/next/publishing.html +++ b/docs/en/next/publishing.html @@ -15,6 +15,9 @@

For example, both Apache and nginx serve content from /var/www/html by default. That said, choosing a web server or provider is outside the scope of Docusaurus.

+
+

When serving the site from your own web server, ensure the web server is serving the asset files with the proper HTTP headers. CSS files should be served with the content-type header - text/css. In the case of nginx, this would mean setting include /etc/nginx/mime.types; in your nginx.conf file. See https://github.com/facebook/Docusaurus/issues/602 for more info.

+

Hosting on a Service: