[TESTS] sed / Multiple Vhosts Includes REF: #285

This commit is contained in:
Mitchell Krog 2019-07-31 16:21:45 +02:00
parent 6a9cf5c2fb
commit 42d71c94d7
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43

View file

@ -2,9 +2,6 @@ server {
listen 8080;
server_name xxxx;
include /etc/nginx/bots.d/blockbots.conf;
location / {
return 301 https://$host$request_uri;
}
@ -13,9 +10,6 @@ include /etc/nginx/bots.d/blockbots.conf;
server {
listen 443 ssl http2;
server_name xxxxx
include /etc/nginx/bots.d/blockbots.conf;
root {{ vhost_www_directory }}/sites/public;
include {{ nginx_blockbots_cfg_path }};
@ -32,9 +26,6 @@ server {
root {{ vhost_www_directory }}/admin/public;
server_name admin.{{ domain_to_protect }};
include /etc/nginx/bots.d/blockbots.conf;
include {{ nginx_yprox_security_path }};
include {{ nginx_yprox_ssl_path }};
@ -49,9 +40,6 @@ server {
listen 443 ssl http2;
server_name alp.{{ domain_to_protect }};
include /etc/nginx/bots.d/blockbots.conf;
root {{ alp_live_directory }};
include {{ nginx_bots_cfg_path }}/blockbots.conf;
index index.html;