mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-28 21:55:48 -04:00
redirect new netlify.app subdomain
This commit is contained in:
@@ -1,6 +1,2 @@
|
|||||||
# Repo will be added as a volume, so ignore everything...
|
# Repo will be added as a volume, so ignore everything...
|
||||||
**
|
**
|
||||||
|
|
||||||
# ...except readme and license
|
|
||||||
!/README.md
|
|
||||||
!/LICENSE.md
|
|
||||||
|
|||||||
20
.gitignore
vendored
20
.gitignore
vendored
@@ -1,15 +1,27 @@
|
|||||||
|
# Hugo artifacts
|
||||||
public/
|
public/
|
||||||
builds/
|
builds/
|
||||||
resources/
|
resources/
|
||||||
|
|
||||||
.env
|
# node/npm/yarn
|
||||||
|
|
||||||
node_modules/
|
node_modules/
|
||||||
package-lock.json
|
package-lock.json
|
||||||
yarn-debug.log
|
npm-debug.log*
|
||||||
yarn-error.log
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
||||||
|
# here be secrets
|
||||||
|
.env
|
||||||
|
.env.production
|
||||||
|
|
||||||
|
# macOS/iCloud junk
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.DS_Store?
|
||||||
|
._*
|
||||||
|
.Spotlight-V100
|
||||||
|
.Trashes
|
||||||
|
*.icloud
|
||||||
|
.nosync
|
||||||
|
|
||||||
# Local Netlify folder
|
# Local Netlify folder
|
||||||
.netlify
|
.netlify
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
# Based on: https://github.com/jakejarvis/hugo-build-action/blob/master/Dockerfile
|
# Based on: https://github.com/jakejarvis/hugo-build-action/blob/master/Dockerfile
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM node:lts-alpine
|
||||||
|
|
||||||
ENV HUGO_VERSION 0.65.3
|
ENV HUGO_VERSION 0.65.3
|
||||||
# remove/comment the following line completely to build with vanilla Hugo:
|
# remove/comment the following line completely to build with vanilla Hugo:
|
||||||
@@ -17,7 +17,11 @@ RUN apk update && \
|
|||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
git \
|
git \
|
||||||
nodejs \
|
yarn \
|
||||||
|
asciidoctor \
|
||||||
|
python3 \
|
||||||
|
py3-setuptools \
|
||||||
|
py3-pygments \
|
||||||
${HUGO_EXTENDED:+libc6-compat libstdc++} && \
|
${HUGO_EXTENDED:+libc6-compat libstdc++} && \
|
||||||
update-ca-certificates && \
|
update-ca-certificates && \
|
||||||
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_EXTENDED:+extended_}${HUGO_VERSION}_Linux-64bit.tar.gz && \
|
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_EXTENDED:+extended_}${HUGO_VERSION}_Linux-64bit.tar.gz && \
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
# X-XSS-Protection = "1; mode=block; report=https://jarvis.report-uri.com/r/d/xss/enforce"
|
# X-XSS-Protection = "1; mode=block; report=https://jarvis.report-uri.com/r/d/xss/enforce"
|
||||||
X-Pingback = "https://jarv.is/ping/xmlrpc"
|
X-Pingback = "https://jarv.is/ping/xmlrpc"
|
||||||
X-Got-Milk = "2%"
|
X-Got-Milk = "2%"
|
||||||
X-View-Source = "https://github.com/jakejarvis/jarv.is"
|
# X-View-Source = "https://github.com/jakejarvis/jarv.is"
|
||||||
|
|
||||||
# PGP file: open in browser, download correctly
|
# PGP file: open in browser, download correctly
|
||||||
[[headers]]
|
[[headers]]
|
||||||
@@ -75,6 +75,11 @@
|
|||||||
to = "https://jarv.is/:splat"
|
to = "https://jarv.is/:splat"
|
||||||
status = 301
|
status = 301
|
||||||
force = true
|
force = true
|
||||||
|
[[redirects]]
|
||||||
|
from = "https://jakejarvis.netlify.app/*"
|
||||||
|
to = "https://jarv.is/:splat"
|
||||||
|
status = 301
|
||||||
|
force = true
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://www.jarv.is/*"
|
from = "https://www.jarv.is/*"
|
||||||
to = "https://jarv.is/:splat"
|
to = "https://jarv.is/:splat"
|
||||||
|
|||||||
Reference in New Issue
Block a user