geml as a service #1

Open
specter wants to merge 15 commits from serviceable into master
Owner

index.gmi file resolution

If a request is not specifically for a .gmi file it will resolve to /index.gmi. Examples:

gemini://localhost -> gemini://localhost/index.gmi
gemini://localhost/this/random/folder -> gemini://localhost/this/random/folder/index.gmi

Otherwise it will send a 51 indicating to the client the file was not found. (Also true for non-index files)

configuration via /etc/geml/geml.ini

So you can map domains to capsule roots and customize some global settings.

automatic TLS certificates

Following the recommendations from adnano.co (for servers):

  • Specify one or more DNS names and a common name.
  • Use ECDSA (until Ed25519 is widely supported.)
  • Use an expiration time far into the future (e.g. 100 years from now).

standalone executable

  • geml-server --config /etc/geml/geml.ini
  • geml-server -v
  • geml-server -h
# index.gmi file resolution If a request is not specifically for a .gmi file it will resolve to `/index.gmi`. Examples: ``` gemini://localhost -> gemini://localhost/index.gmi gemini://localhost/this/random/folder -> gemini://localhost/this/random/folder/index.gmi ``` Otherwise it will send a `51` indicating to the client the file was not found. (Also true for non-index files) # configuration via /etc/geml/geml.ini So you can map domains to capsule roots and customize some global settings. # automatic TLS certificates [Following the recommendations from adnano.co](https://adnano.co/2021/03/06/gemini-tls/) (for servers): - [x] Specify one or more DNS names and a common name. - [x] Use ECDSA (until Ed25519 is widely supported.) - [x] Use an expiration time far into the future (e.g. 100 years from now). # standalone executable - [x] `geml-server --config /etc/geml/geml.ini` - [x] `geml-server -v` - [x] `geml-server -h`
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin serviceable:serviceable
git switch serviceable

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff serviceable
git switch serviceable
git rebase master
git switch master
git merge --ff-only serviceable
git switch serviceable
git rebase master
git switch master
git merge --no-ff serviceable
git switch master
git merge --squash serviceable
git switch master
git merge --ff-only serviceable
git switch master
git merge serviceable
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
specter/geml!1
No description provided.