[PR #45] [MERGED] Add support for using Caddy for local dev server HTTPS #87

Closed
opened 2026-02-28 15:42:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/usenocturne/nocturne-ui/pull/45
Author: @BBaoVanC
Created: 11/25/2024
Status: Merged
Merged: 11/25/2024
Merged by: @brandonsaldan

Base: mainHead: caddy


📝 Commits (2)

  • 2fba8a4 Add Caddyfile for adding HTTPS to Next.js local dev server
  • 4cf435a Refactor local dev docs and include Caddy instructions

📊 Changes

2 files changed (+125 additions, -80 deletions)

View changed files

Caddyfile (+8 -0)
📝 README.md (+117 -80)

📄 Description

Add a Caddyfile which runs a proxy at https://localhost:3443 to provide HTTPs for local development. It reverse proxies to http://localhost:3000, so a Next.js unencrypted server should be run as well.

This is an alternative to using mkcert, for easier setup.

Doc updates:

  • Reorder the info about setting up certs and running server to the end of the local dev instructions.
  • Remove instruction to put *.key, *.pem, and *.crt to .gitignore as it's already there.
  • Add text that describes each step in the mkcert section.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/usenocturne/nocturne-ui/pull/45 **Author:** [@BBaoVanC](https://github.com/BBaoVanC) **Created:** 11/25/2024 **Status:** ✅ Merged **Merged:** 11/25/2024 **Merged by:** [@brandonsaldan](https://github.com/brandonsaldan) **Base:** `main` ← **Head:** `caddy` --- ### 📝 Commits (2) - [`2fba8a4`](https://github.com/usenocturne/nocturne-ui/commit/2fba8a4382bd10f14a334a215eb71cc3911b9500) Add Caddyfile for adding HTTPS to Next.js local dev server - [`4cf435a`](https://github.com/usenocturne/nocturne-ui/commit/4cf435a0b6ee8b0a397430b31e6e8edd3b606ec4) Refactor local dev docs and include Caddy instructions ### 📊 Changes **2 files changed** (+125 additions, -80 deletions) <details> <summary>View changed files</summary> ➕ `Caddyfile` (+8 -0) 📝 `README.md` (+117 -80) </details> ### 📄 Description Add a Caddyfile which runs a proxy at https://localhost:3443 to provide HTTPs for local development. It reverse proxies to `http://localhost:3000`, so a Next.js unencrypted server should be run as well. This is an alternative to using `mkcert`, for easier setup. Doc updates: - Reorder the info about setting up certs and running server to the end of the local dev instructions. - Remove instruction to put `*.key`, `*.pem`, and `*.crt` to .gitignore as it's already there. - Add text that describes each step in the mkcert section. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 15:42:07 +03:00
Sign in to join this conversation.
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
starred/nocturne-ui#87
No description provided.