mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-04 03:42:34 +02:00
Adding info for Hosting Static HTML Pages due to recent css changes (#611)
Adding info for Hosting Static HTML Pages
This commit is contained in:
parent
327d044362
commit
91897191b6
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ At this point, you can grab all of the files inside the `website/build` folder a
|
|||
|
||||
> 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:
|
||||
|
||||
* [GitHub Pages](#using-github-pages)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue