Compare commits

...

20 Commits

Author SHA1 Message Date
Xialijun
ba28bb10b1 Merge 4cb39fe332 into 9687e9e450 2025-01-15 16:43:57 +08:00
Jamie Curnow
9687e9e450 Use previous version of powerdns image, newer version is broken
All checks were successful
Close stale issues and PRs / stale (push) Successful in 3s
2025-01-07 10:30:08 +10:00
Jamie Curnow
5a234bb88c Fix incorrect test folder in ci results 2025-01-07 08:13:04 +10:00
jc21
4de4b65036 Merge pull request #4252 from GergelyGombai/develop
Add Gcore DNS Provider
2025-01-07 07:54:44 +10:00
ComradeBlin
73110d5e1e Update Gcore apikey format
I managed to mis-write the format in my previous commit
2024-12-22 01:44:52 +01:00
ComradeBlin
356b98bf7e Add Gcore DNS Provider 2024-12-22 01:02:47 +01:00
xialj
4cb39fe332 is more suitable for ,if listen port is no 80 or 443 2023-08-11 11:13:39 +08:00
xialj
1a983651a5 proxy_set_header Host is not useful in proxy_host.conf,it should be modify in conf.d/include/proxy.conf 2023-08-11 11:12:06 +08:00
xialj
145fe2d24f Strings must use singlequote quotes 2023-08-01 00:17:40 +08:00
xialj
5dbb0b921e Strings must use singlequote quotes 2023-08-01 00:05:33 +08:00
xialj
700d908abd varible listen_ports should be in case which nice_host_type is proxy_host 2023-08-01 00:04:11 +08:00
xialj
7f2552d77f formatting nginx.js 2023-08-01 00:01:22 +08:00
xialj
bbeb4f5a60 formatting nginx.js 2023-07-31 23:56:59 +08:00
xialj
c166f6b41f formatting nginx.js 2023-07-31 23:56:25 +08:00
xialj
05831fcd44 formatting nginx.js 2023-07-31 23:55:03 +08:00
xialj
dec0ff31eb bugfix when create a proxy-host.conf can with more ports 2023-07-31 23:52:27 +08:00
xialj
4ebfb4247c bugfix when create a proxy-host.conf can with more ports 2023-07-31 23:39:25 +08:00
Xialijun
75c2f73796 Merge branch 'NginxProxyManager:develop' into issue_for_external_port 2023-07-31 23:08:35 +08:00
Xialijun
fb1e4bd46c Update proxy_host.conf by replace $host:$server with $http_host 2023-07-31 22:55:14 +08:00
xialj
f00fe275ca allow domain like 'com.example.com:8080',use external port and nginx programmer manager listen thses ports 2023-02-13 14:33:09 +08:00
7 changed files with 31 additions and 7 deletions

6
Jenkinsfile vendored
View File

@@ -128,7 +128,7 @@ pipeline {
sh 'docker-compose down --remove-orphans --volumes -t 30 || true'
}
unstable {
dir(path: 'testing/results') {
dir(path: 'test/results') {
archiveArtifacts(allowEmptyArchive: true, artifacts: '**/*', excludes: '**/*.xml')
}
}
@@ -161,7 +161,7 @@ pipeline {
sh 'docker-compose down --remove-orphans --volumes -t 30 || true'
}
unstable {
dir(path: 'testing/results') {
dir(path: 'test/results') {
archiveArtifacts(allowEmptyArchive: true, artifacts: '**/*', excludes: '**/*.xml')
}
}
@@ -199,7 +199,7 @@ pipeline {
sh 'docker-compose down --remove-orphans --volumes -t 30 || true'
}
unstable {
dir(path: 'testing/results') {
dir(path: 'test/results') {
archiveArtifacts(allowEmptyArchive: true, artifacts: '**/*', excludes: '**/*.xml')
}
}

View File

@@ -234,6 +234,19 @@ const internalNginx = {
// Set the IPv6 setting for the host
host.ipv6 = internalNginx.ipv6Enabled();
if ( nice_host_type === 'proxy_host' ) {
let listen_ports = [];
host.domain_names.map( function (domain_name) {
if ( domain_name.indexOf(':') > 0 ){
listen_ports.push(parseInt(domain_name.substring(domain_name.indexOf(':')+1)));
}
});
if ( listen_ports.length > 0 ){
host.listen_ports = listen_ports;
}
}
locationsPromise.then(() => {
renderEngine

View File

@@ -12,6 +12,9 @@
#listen [::]:443;
{% endif %}
{% endif %}
{% for listen_port in listen_ports %}
listen listen_port;
{% endfor %}
server_name {{ domain_names | join: " " }};
{% if http2_support == 1 or http2_support == true %}
http2 on;

View File

@@ -40,7 +40,7 @@ services:
- ca.internal
pdns:
image: pschiffe/pdns-mysql
image: pschiffe/pdns-mysql:4.8
volumes:
- '/etc/localtime:/etc/localtime:ro'
environment:

View File

@@ -132,7 +132,7 @@ services:
- 8128:3128
pdns:
image: pschiffe/pdns-mysql
image: pschiffe/pdns-mysql:4.8
container_name: npm2dev.pdns
volumes:
- '/etc/localtime:/etc/localtime:ro'
@@ -218,7 +218,7 @@ services:
env_file:
- ci.env
ports:
- 9000:9000
- 9000:9000
depends_on:
- authentik-redis
- db-postgres

View File

@@ -1,5 +1,5 @@
add_header X-Served-By $host;
proxy_set_header Host $host;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View File

@@ -215,6 +215,14 @@
"credentials": "# Gandi personal access token\ndns_gandi_token=PERSONAL_ACCESS_TOKEN",
"full_plugin_name": "dns-gandi"
},
"gcore": {
"name": "Gcore DNS",
"package_name": "certbot-dns-gcore",
"version": "~=0.1.8",
"dependencies": "",
"credentials": "dns_gcore_apitoken = 0123456789abcdef0123456789abcdef01234567",
"full_plugin_name": "dns-gcore"
},
"godaddy": {
"name": "GoDaddy",
"package_name": "certbot-dns-godaddy",