Skip to content
Snippets Groups Projects
Commit 569d2b0d authored by Jamie Curnow's avatar Jamie Curnow
Browse files

Merge branch 'develop' of github.com:jc21/nginx-proxy-manager

parents e869c76e b7e1e4fd
No related branches found
No related tags found
No related merge requests found
2.1.0
\ No newline at end of file
2.1.1
\ No newline at end of file
......@@ -2,7 +2,7 @@
# Nginx Proxy Manager
![Version](https://img.shields.io/badge/version-2.1.0-green.svg?style=for-the-badge)
![Version](https://img.shields.io/badge/version-2.1.1-green.svg?style=for-the-badge)
![Stars](https://img.shields.io/docker/stars/jc21/nginx-proxy-manager.svg?style=for-the-badge)
![Pulls](https://img.shields.io/docker/pulls/jc21/nginx-proxy-manager.svg?style=for-the-badge)
......
......@@ -3,7 +3,7 @@ const fs = require('fs');
const logger = require('../logger').ip_ranges;
const error = require('../lib/error');
const internalNginx = require('./nginx');
const Liquid = require('liquidjs');
const { Liquid } = require('liquidjs');
const CLOUDFRONT_URL = 'https://ip-ranges.amazonaws.com/ip-ranges.json';
const CLOUDFARE_V4_URL = 'https://www.cloudflare.com/ips-v4';
......@@ -116,7 +116,7 @@ const internalIpRanges = {
* @returns {Promise}
*/
generateConfig: (ip_ranges) => {
let renderEngine = Liquid({
let renderEngine = new Liquid({
root: __dirname + '/../templates/'
});
......
const _ = require('lodash');
const fs = require('fs');
const Liquid = require('liquidjs');
const logger = require('../logger').nginx;
const utils = require('../lib/utils');
const error = require('../lib/error');
const { Liquid } = require('liquidjs');
const debug_mode = process.env.NODE_ENV !== 'production' || !!process.env.DEBUG;
const internalNginx = {
......@@ -181,7 +181,7 @@ const internalNginx = {
logger.info('Generating ' + host_type + ' Config:', host);
}
let renderEngine = Liquid({
let renderEngine = new Liquid({
root: __dirname + '/../templates/'
});
......@@ -263,7 +263,7 @@ const internalNginx = {
logger.info('Generating LetsEncrypt Request Config:', certificate);
}
let renderEngine = Liquid({
let renderEngine = new Liquid({
root: __dirname + '/../templates/'
});
......
{
"name": "nginx-proxy-manager",
"version": "2.1.0",
"version": "2.1.1",
"description": "A beautiful interface for creating Nginx endpoints",
"main": "js/index.js",
"dependencies": {
"ajv": "^6.5.1",
"ajv": "^6.11.0",
"batchflow": "^0.4.0",
"bcrypt": "^3.0.0",
"body-parser": "^1.18.3",
"compression": "^1.7.2",
"config": "^2.0.1",
"bcrypt": "^3.0.8",
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"config": "^3.2.5",
"diskdb": "^0.1.17",
"express": "^4.16.3",
"express-fileupload": "^0.4.0",
"gravatar": "^1.6.0",
"express": "^4.17.1",
"express-fileupload": "^1.1.6",
"gravatar": "^1.8.0",
"html-entities": "^1.2.1",
"json-schema-ref-parser": "^5.0.3",
"jsonwebtoken": "^8.3.0",
"knex": "^0.19.5",
"liquidjs": "^5.1.1",
"lodash": "^4.17.10",
"moment": "^2.22.2",
"mysql": "^2.15.0",
"node-rsa": "^1.0.0",
"json-schema-ref-parser": "^7.1.3",
"jsonwebtoken": "^8.5.1",
"knex": "^0.20.10",
"liquidjs": "^9.7.1",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"mysql": "^2.18.1",
"node-rsa": "^1.0.7",
"nodemon": "^2.0.2",
"objection": "^1.1.10",
"objection": "^2.1.3",
"path": "^0.12.7",
"restler": "^3.4.0",
"signale": "^1.2.1",
"temp-write": "^3.4.0",
"signale": "^1.4.0",
"temp-write": "^4.0.0",
"unix-timestamp": "^0.2.0"
},
"scripts": {
"build": "webpack --mode production"
},
"signale": {
"displayDate": true,
"displayTimestamp": true
......
This diff is collapsed.
......@@ -5,6 +5,8 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} jc21/alpine-nginx-full:node
ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG BUILD_VERSION
ARG BUILD_COMMIT
ARG BUILD_DATE
......@@ -22,8 +24,8 @@ RUN echo "fs.file-max = 65535" > /etc/sysctl.conf \
ENV NPM_BUILD_VERSION="${BUILD_VERSION}" NPM_BUILD_COMMIT="${BUILD_COMMIT}" NPM_BUILD_DATE="${BUILD_DATE}"
# s6 overlay
RUN curl -L -o /tmp/s6-overlay-amd64.tar.gz "https://github.com/just-containers/s6-overlay/releases/download/v1.22.1.0/s6-overlay-amd64.tar.gz" \
&& tar -xzf /tmp/s6-overlay-amd64.tar.gz -C /
COPY scripts/install-s6 /tmp/install-s6
RUN /tmp/install-s6 "${TARGETPLATFORM}" && rm -f /tmp/install-s6
EXPOSE 80
EXPOSE 81
......
{
"name": "nginx-proxy-manager",
"version": "2.1.0",
"version": "2.1.1",
"description": "A beautiful interface for creating Nginx endpoints",
"main": "js/index.js",
"devDependencies": {
......
#!/bin/bash -e
# Note: This script is designed to be run inside a Docker Build for a container
CYAN='\E[1;36m'
YELLOW='\E[1;33m'
BLUE='\E[1;34m'
GREEN='\E[1;32m'
RESET='\E[0m'
S6_OVERLAY_VERSION=1.22.1.0
TARGETPLATFORM=$1
# Determine the correct binary file for the architecture given
case $TARGETPLATFORM in
linux/arm64)
S6_ARCH=aarch64
;;
linux/arm/v7)
S6_ARCH=armhf
;;
*)
S6_ARCH=amd64
;;
esac
echo -e "${BLUE}${CYAN}Installing S6-overlay v${S6_OVERLAY_VERSION} for ${YELLOW}${TARGETPLATFORM} (${S6_ARCH})${RESET}"
curl -L -o "/tmp/s6-overlay-${S6_ARCH}.tar.gz" "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.gz" \
&& tar -xzf "/tmp/s6-overlay-${S6_ARCH}.tar.gz" -C /
echo -e "${BLUE}${GREEN}S6-overlay install Complete${RESET}"
FROM cypress/included:3.8.3
FROM cypress/included:4.0.2
COPY --chown=1000 ./test /test
......
......@@ -7,7 +7,7 @@
"@jc21/cypress-swagger-validation": "^0.0.5",
"@jc21/restler": "^3.4.0",
"chalk": "^3.0.0",
"cypress": "^3.8.3",
"cypress": "^4.0.2",
"cypress-plugin-retries": "^1.5.2",
"eslint": "^6.7.2",
"eslint-plugin-align-assignments": "^1.1.2",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment