soporte argumentos para listen
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
- copy:
|
||||
content: |
|
||||
server {
|
||||
listen 80;
|
||||
listen 80 {{ nginx_http_listen_args | join (' ') }};
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
include /etc/nginx/conf.d/common/*.conf;
|
||||
@@ -56,7 +56,7 @@
|
||||
include /etc/nginx/conf.d/locations-http/*.conf;
|
||||
}
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen 443 ssl {{ nginx_https_listen_args | join (' ') }};
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
include /etc/nginx/conf.d/common/*.conf;
|
||||
|
||||
Reference in New Issue
Block a user