-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 64c3799
Showing
12 changed files
with
7,868 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/dist/ | ||
/node_modules/ | ||
.parcel-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"plugins": { | ||
"tailwindcss": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Gumbo's Not Available pages | ||
|
||
Simple pages using the Gumbo Tailwind branding to display that sites are offline. | ||
|
||
## Usage | ||
|
||
1. `git clone https://github.com/gumbo-misc/not-available.git` | ||
2. `npm install` | ||
3. `npm run build` | ||
|
||
Done! | ||
|
||
See [nginx.conf](./nginx.conf) for an example nginx config. | ||
|
||
## License | ||
|
||
No license yet, all rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
server { | ||
listen 80; | ||
server_name example.com; | ||
|
||
root /var/www/unavailable; | ||
index index.html; | ||
|
||
# Use index.html as the error page | ||
error_page 404 /index.html; | ||
|
||
# Disallow access to hidden files | ||
location ~ /\.ht { | ||
deny all; | ||
} | ||
|
||
# Add immutable cache headers to hashed css, js and svg files | ||
location ~* \.([a-f0-9]{8})\.(?:css|js|svg)$ { | ||
expires 1y; | ||
add_header Cache-Control "public, immutable"; | ||
} | ||
} |
Oops, something went wrong.