瀏覽代碼

Remove breaking changes

master
a.genus 9 年之前
父節點
當前提交
ba6679ef66
共有 5 個文件被更改,包括 7 次插入17 次删除
  1. +0
    -5
      apache/debian_full.sls
  2. +7
    -0
      apache/files/Debian/apache-2.4.config.jinja
  3. +0
    -4
      apache/vhosts/proxy.tmpl
  4. +0
    -4
      apache/vhosts/redirect.tmpl
  5. +0
    -4
      apache/vhosts/standard.tmpl

+ 0
- 5
apache/debian_full.sls 查看文件

@@ -37,9 +37,4 @@ a2dissite 000-default{{ apache.confext }}:
- require:
- pkg: apache

/etc/apache2/ports.conf:
file.absent:
- require:
- pkg: apache

{% endif %} #END: os = debian

+ 7
- 0
apache/files/Debian/apache-2.4.config.jinja 查看文件

@@ -34,6 +34,10 @@
# together by including all remaining configuration files when starting up the
# web server.
#
# * ports.conf is always included from the main configuration file. It is
# supposed to determine listening ports for incoming connections which can be
# customized anytime.
#
# * Configuration files in the mods-enabled/, conf-enabled/ and sites-enabled/
# directories contain particular configuration snippets which manage modules,
# global configuration fragments, or virtual host configurations,
@@ -138,6 +142,9 @@ LogLevel warn
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf

# Include list of ports to listen on
Include ports.conf


# Sets the default security model of the Apache2 HTTPD server. It does
# not allow access to the root filesystem outside of /usr/share and /var/www.

+ 0
- 4
apache/vhosts/proxy.tmpl 查看文件

@@ -22,10 +22,6 @@
'ProxyRoute': site.get('ProxyRoute', {}),
} %}

{% for intf in vals.interfaces -%}
Listen {{ intf }}:{{ vals.port }}
{% endfor %}

<VirtualHost {%- for intf in vals.interfaces %} {{intf}}:{{ vals.port }}{% endfor -%}>
ServerName {{ vals.ServerName }}
{% if site.get('ServerAlias') != False %}ServerAlias {{ vals.ServerAlias }}{% endif %}

+ 0
- 4
apache/vhosts/redirect.tmpl 查看文件

@@ -23,10 +23,6 @@

} %}

{% for intf in vals.interfaces -%}
Listen {{ intf }}:{{ vals.port }}
{% endfor %}

<VirtualHost {%- for intf in vals.interfaces %} {{intf}}:{{ vals.port }}{% endfor -%}>
ServerName {{ vals.ServerName }}
{% if site.get('ServerAlias') != False %}ServerAlias {{ vals.ServerAlias }}{% endif %}

+ 0
- 4
apache/vhosts/standard.tmpl 查看文件

@@ -38,10 +38,6 @@
},
} -%}

{% for intf in vals.interfaces -%}
Listen {{ intf }}:{{ vals.port }}
{% endfor %}

<VirtualHost {% for intf in vals.interfaces %} {{intf}}:{{ vals.port }}{% endfor -%}>
ServerName {{ vals.ServerName }}
{% if site.get('ServerAlias') != False %}ServerAlias {{ vals.ServerAlias }}{% endif %}

Loading…
取消
儲存