Staticfile#
The Staticfile provider allows you to serve a single directory via NGINX.
Staticfile is detected if
- a
Staticfilefile is found at the app root ./publicdirectory exists./indexdirectory exists./distdirectory exists./index.htmlfile exists
if this provider is matched for one of these reasons, then that directory/file will be served.
Setup#
NGINX is installed.
Install#
None
Build#
The NGINX config is copied to the correct location.
Start#
NGINX is started and the directory/file is served.