First, let’s define a static site. A static site is a website made up of pre-built HTML, CSS, and JavaScript. They are served directly to the end user’s browser. There is no server-side processing, the content served is the same on every request. Some examples of static sites would include blogs, docs, landing pages, or portfolio sites. On another note, if you are using React or another reactive framework, excluding the ones with SSR (like Next.js or SvelteKit), the output of the build is a static site. Though for those cases, we recommend following our dedicated framework guides. In order to deploy a static site with Nubo, we must configure an HTTP server that will serve our static assets to the end user. To do this, we can either use Apache or Nginx. Below will illustrate the process for both.Documentation Index
Fetch the complete documentation index at: https://docs.withnubo.com/llms.txt
Use this file to discover all available pages before exploring further.
Using Apache
Nubo will detect that you’d like to use Apache if either of the following is true:- There exists a
httpd.conffile in the root directory - There is a
BP_WEB_SERVERbuild variable that is set tohttpd
httpd.conf for us.
Setting up a project.toml
A project.toml file in the project’s root directory allows us to configure information about our application and also configure the build process.
In this case we would like to set a few environment variables that trigger and setup an Apache web server.
Take note at the
BPE_PORT variable, this makes the PORT environment variable available at runtime. This port will be required when deploying the Frame in the Nubo dashboard.Using Nginx
Nubo will detect that you’d like to use Nginx if either of the following is true:- There exists a
nginx.conffile in the root directory - There is a
BP_WEB_SERVERbuild variable that is set tonginx
nginx.conf for us.
Setting up a project.toml
A project.toml file in the project’s root directory allows us to configure information about our application and also configure the build process.
In this case we would like to set a few environment variables that trigger and setup a Nginx web server.
Take note at the
BPE_PORT variable, this makes the PORT environment variable available at runtime. This port will be required when deploying the Frame in the Nubo dashboard.

