We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a33353b commit e9f8850Copy full SHA for e9f8850
2 files changed
fs_overlay/etc/cont-init.d/00-welcome
@@ -2,6 +2,6 @@
2
3
echo '
4
========================================
5
-HTTPS-PORTAL v1.25.1
+HTTPS-PORTAL v1.25.2
6
7
'
fs_overlay/opt/certs_manager/lib/nginx.rb
@@ -18,7 +18,13 @@ def self.config_http(domain)
18
end
19
20
def self.config_ssl(domain)
21
- File.open("/etc/nginx/conf.d/#{domain.name}_#{domain.port}.ssl.conf", 'w') do |f|
+ if domain.port == "443"
22
+ file_path = "/etc/nginx/conf.d/#{domain.name}.ssl.conf" # Backwards compatibility
23
+ else
24
+ file_path = "/etc/nginx/conf.d/#{domain.name}_#{domain.port}.ssl.conf"
25
+ end
26
+
27
+ File.open(file_path, 'w') do |f|
28
f.write compiled_domain_config(domain, true)
29
30
0 commit comments