Skip to content

Commit

Permalink
release/ncproxy: 0.10.1 nightly (#789)
Browse files Browse the repository at this point in the history
* release/ncproxy: 0.10.1 nightly
  • Loading branch information
leon3s authored Dec 29, 2023
1 parent d24fd61 commit 39fca70
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions bin/ncproxy/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.10.1] - 2023-12-29

### Fixed

- SSL redirection even when not enabled

## [0.10.0] - 2023-12-28

### Changed
Expand Down
2 changes: 1 addition & 1 deletion bin/ncproxy/specs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ info:
email: [email protected]
license:
name: MIT OR Apache-2.0
version: v0.10.0
version: v0.10.1
servers:
- url: /{Version}
variables:
Expand Down
6 changes: 3 additions & 3 deletions bin/ncproxy/src/models/templates/http.conf
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
server {
listen {{ listen }};
{% if ssl %}
listen {{ listen_https }} http2 ssl;
{% endif %}
{% if domain %}server_name {{ domain }};

if ($host != {{ domain }}) {
return 502;
}{% endif %}
{% if ssl %}
listen {{ listen_https }} http2 ssl;

if ($scheme != https) {
return 301 https://$host$request_uri;
}
Expand Down

0 comments on commit 39fca70

Please sign in to comment.