diff --git a/languages-and-frameworks/static.html.markerb b/languages-and-frameworks/static.html.markerb index b1f0cdb4ef..9913485e35 100644 --- a/languages-and-frameworks/static.html.markerb +++ b/languages-and-frameworks/static.html.markerb @@ -4,13 +4,9 @@ layout: language-and-framework-docs redirect_from: /docs/getting-started/static/ --- -<%= partial "/docs/partials/obsolete_doc" %> - <%= partial "partials/intro", locals: { runtime: "static", type: "site" } %> -To be fair, a static site isn't an app. So we're really talking about **deploying an app to serve some static content.** - -In this demonstration, we'll use [goStatic](https://github.com/PierreZ/goStatic), a tiny web server written in Go that lets us serve static files with very little configuration. We'll provide a Dockerfile and our content for Fly to transmogrify into a web server running in a VM. +In this demonstration, we'll use [nginx](https://nginx.org), the world's most popular web server to serve a few static files with very little configuration. We'll provide a Dockerfile and our content for Fly to transmogrify into a web server running in a VM. You can clone all the files needed for this example from [the hello-static GitHub repository](https://github.com/fly-apps/hello-static) to a local directory: @@ -38,9 +34,9 @@ cd hello-static ### _The Site_ -Our example will be a simple static site. That can be as trivial as a single `index.html` file. Let's make it only slightly more complicated by writing two html files and having them link to each other. +Our example will be a simple static site. That can be as trivial as a single `index.html` file. Let's make it only slightly more complicated by writing two HTML files and having them link to each other. -Put these html files into a subdirectory of their own, called `public`. Files in this directory are the ones our goStatic server will serve. Create the `hello-static/public` directory if needed. +Put these HTML files into a subdirectory of their own, called `public`. Files in this directory are the ones our nginx server will serve. Create the `hello-static/public` directory if needed. Here's `index.html`, which is the landing page: @@ -69,22 +65,23 @@ Here's `goodbye.html`.
But I say hello.
+But I say hello.