Go to file
2023-11-12 23:35:27 +03:00
.dockerfiles Initial Commit 2023-08-20 00:44:34 +10:00
gitea fix for files from subdirectories 2023-11-12 23:35:27 +03:00
.dockerignore Initial Commit 2023-08-20 00:44:34 +10:00
.gitignore Initial Commit 2023-08-20 00:44:34 +10:00
Dockerfile Initial Commit 2023-08-20 00:44:34 +10:00
go.mod Initial Commit 2023-08-20 00:44:34 +10:00
go.sum Initial Commit 2023-08-20 00:44:34 +10:00
LICENSE Initial Commit 2023-08-20 00:44:34 +10:00
main.go Add support for setting mime type headers for known extensions 2023-08-20 01:15:42 +10:00
Makefile Initial Commit 2023-08-20 00:44:34 +10:00
README.md Add a basic README 2023-08-20 21:59:34 +10:00

pages-server

A prototype Gitea Pages server ala Github Pages (or Vercal, Netlify, etc).

Currently supports the following:

  • Proxies *.pages.mills.io
  • Option 1: Repo with gitea-pages branch + gitea-pages topic => https://.pages.mills.io//
  • Option 2: Repo of the form .pages.mills.io with gitea-pages branch and gitea-pages topic => https://.pages.mills.io

Demo sites:

Quick Start

TBD

Features

  • Proxies <owner>.<domain>/<repo> => owner/repo
  • Proxies <subdomain.<domain> => owner/subdomain
  • Automatically sets MIME types on served content.
  • Ues gitea-pages as an "opt-in" topic label on repos.
  • Content is served from a gitea-pages branch.

License

TBD