Skip to content

Commit

Permalink
stable
Browse files Browse the repository at this point in the history
  • Loading branch information
stitts-dev committed Jun 11, 2024
1 parent 8140fbb commit 2b517c0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
[![Netlify Status](https://api.netlify.com/api/v1/badges/b1b93b02-f278-440b-ae1b-304e9f4c4ab5/deploy-status)](https://app.netlify.com/sites/toha/deploys) [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fhugo-toha%2Fhugo-toha.github.io%2Fbadge%3Fref%3Dsource&style=flat)](https://actions-badge.atrox.dev/hugo-toha/hugo-toha.github.io/goto?ref=source) ![Repository Size](https://img.shields.io/github/repo-size/hugo-toha/hugo-toha.github.io) ![Last Commit](https://img.shields.io/github/last-commit/hugo-toha/hugo-toha.github.io) ![Open Pull Requests](https://img.shields.io/github/issues-pr/hugo-toha/hugo-toha.github.io?color=yellowgreen) [![This project is using Percy.io for visual regression testing.](https://percy.io/static/images/percy-badge.svg)](https://percy.io/b7cb60ab/hugo-toha.github.io)

A Customized Hugo static site with Toha theme.

docker build -t stitts5401/hugo-portfolio:latest .

docker run -it stitts5401/hugo-portfolio:latest cat /etc/nginx/conf.d/default.conf

docker run -it stitts5401/hugo-portfolio:latest ls -l /usr/share/nginx/site
8 changes: 7 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ server {
index index.html;

location / {
try_files $uri $uri/ =404;
try_files $uri $uri/ /index.html;
}

# Custom error page for 404 errors
error_page 404 /404.html;
location = /404.html {
internal;
}
}

0 comments on commit 2b517c0

Please sign in to comment.