add Listen for custom port
This commit is contained in:
parent
bd09f33737
commit
dc3b39a430
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||
</VirtualHost>
|
||||
<IfModule mod_ssl.c>
|
||||
Listen <%= @dnsapiport %>
|
||||
<VirtualHost *:<%= @dnsapiport %>>
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
|
Loading…
Add table
Reference in a new issue