Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

varnish-nginx #27

Merged
merged 17 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
steps:
# Install deps and cache
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v0.10.0 - [November 17, 2023](https://github.com/lando/varnish/releases/tag/v0.10.0)
* Created a varnish-nginx service to use for SSL.

## v0.9.1 - [November 16, 2023](https://github.com/lando/varnish/releases/tag/v0.9.1)
* Updated release github workflow.

## v0.9.0 - [November 15, 2023](https://github.com/lando/varnish/releases/tag/v0.9.0)
* Moved builder file to the new builders/ directory.
* Isolated testing to fit with HARDCORE strategy.
Expand Down
15 changes: 15 additions & 0 deletions builders/varnish-nginx.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
'use strict';

const _ = require('lodash');
const landoNginx = require('./../../node_modules/@lando/nginx/builders/nginx.js');

// Builder
module.exports = {
name: 'varnish-nginx',
parent: 'nginx',
builder: (parent, config) => class VarnishNginx extends landoNginx(parent, config) {
constructor(id, options = {}) {
super(id, options, {services: _.set({}, options.name)});
};
},
};
2 changes: 1 addition & 1 deletion builders/varnish.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ module.exports = {
// Set the opts for this custom swill
const sslOpts = _.assign(_.cloneDeep(options), {
name: `${options.name}_ssl`,
type: 'nginx',
type: 'varnish-nginx',
version: 'custom',
config: `${options.confDest}/${options.defaultFiles.ssl}`,
info: {backend: 'edge', managed: true},
Expand Down
Loading