From fe84d4386c32a10f8e20b6a0e6cfd52502efd5f0 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 16 Nov 2024 23:16:34 +0100 Subject: [PATCH] chore: release v0.2.0 --- CHANGELOG.md | 18 ++++++++++++++++++ package.json | 2 +- reverse-proxy.config.ts | 33 +++++++++++++++++---------------- 3 files changed, 36 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9685136..5befbcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,24 @@ # Changelog +## v0.1.1...main + +[compare changes](https://github.com/stacksjs/rpx/compare/v0.1.1...main) + +### 🚀 Enhancements + +- Allow for `https` boolean ([6153960](https://github.com/stacksjs/rpx/commit/6153960)) + +### 🏡 Chore + +- Export cleanup ([5565a04](https://github.com/stacksjs/rpx/commit/5565a04)) +- Reset tests ([a758d40](https://github.com/stacksjs/rpx/commit/a758d40)) +- Update readme ([10bdade](https://github.com/stacksjs/rpx/commit/10bdade)) + +### ❤️ Contributors + +- Chris ([@chrisbbreuer](http://github.com/chrisbbreuer)) + ## v0.1.0...main [compare changes](https://github.com/stacksjs/rpx/compare/v0.1.0...main) diff --git a/package.json b/package.json index f84cfc8..37915e5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@stacksjs/rpx", "type": "module", - "version": "0.1.1", + "version": "0.2.0", "description": "A modern reverse proxy.", "author": "Chris Breuer ", "license": "MIT", diff --git a/reverse-proxy.config.ts b/reverse-proxy.config.ts index 782d34d..f56c080 100644 --- a/reverse-proxy.config.ts +++ b/reverse-proxy.config.ts @@ -5,22 +5,23 @@ import path from 'node:path' const config: ReverseProxyOptions = { from: 'localhost:5173', to: 'stacks.localhost', - https: { - domain: 'stacks.localhost', - hostCertCN: 'stacks.localhost', - caCertPath: path.join(os.homedir(), '.stacks', 'ssl', `stacks.localhost.ca.crt`), - certPath: path.join(os.homedir(), '.stacks', 'ssl', `stacks.localhost.crt`), - keyPath: path.join(os.homedir(), '.stacks', 'ssl', `stacks.localhost.crt.key`), - altNameIPs: ['127.0.0.1'], - altNameURIs: ['localhost'], - organizationName: 'stacksjs.org', - countryName: 'US', - stateName: 'California', - localityName: 'Playa Vista', - commonName: 'stacks.localhost', - validityDays: 180, - verbose: false, - }, + https: true, + // https: { + // domain: 'stacks.localhost', + // hostCertCN: 'stacks.localhost', + // caCertPath: path.join(os.homedir(), '.stacks', 'ssl', `stacks.localhost.ca.crt`), + // certPath: path.join(os.homedir(), '.stacks', 'ssl', `stacks.localhost.crt`), + // keyPath: path.join(os.homedir(), '.stacks', 'ssl', `stacks.localhost.crt.key`), + // altNameIPs: ['127.0.0.1'], + // altNameURIs: ['localhost'], + // organizationName: 'stacksjs.org', + // countryName: 'US', + // stateName: 'California', + // localityName: 'Playa Vista', + // commonName: 'stacks.localhost', + // validityDays: 180, + // verbose: false, + // }, verbose: false, }