nginx: remove robots.txt, now handled by software (#43956)

This commit is contained in:
Thomas NOËL 2020-06-12 02:57:18 +02:00
parent 742ea5dc1c
commit ef969ed079
12 changed files with 0 additions and 48 deletions

View File

@ -39,10 +39,6 @@ location ~ ^/.well-known/pki-validation/(.+)$ {
}
{% endif -%}
location /robots.txt {
alias /var/lib/{{ MODULE }}/www/robots.txt;
}
location / {
proxy_pass http://unix:/var/run/{{ MODULE }}/{{ MODULE }}.sock;
proxy_set_header Host $http_host;

View File

@ -23,10 +23,6 @@ location ~ ^/media/(.+)$ {
include snippets/publik-gzip.conf;
}
location /robots.txt {
alias /var/lib/authentic2-multitenant/www/robots.txt;
}
location / {
proxy_pass http://unix:/var/run/authentic2-multitenant/authentic2-multitenant.sock;
proxy_set_header Host $http_host;

View File

@ -23,10 +23,6 @@ location ~ ^/media/(.+)$ {
include snippets/publik-gzip.conf;
}
location /robots.txt {
alias /var/lib/bijoe/www/robots.txt;
}
location / {
proxy_pass http://unix:/var/run/bijoe/bijoe.sock;
proxy_set_header Host $http_host;

View File

@ -23,10 +23,6 @@ location ~ ^/media/(.+)$ {
include snippets/publik-gzip.conf;
}
location /robots.txt {
alias /var/lib/chrono/www/robots.txt;
}
location / {
proxy_pass http://unix:/var/run/chrono/chrono.sock;
proxy_set_header Host $http_host;

View File

@ -26,10 +26,6 @@ location ~ ^/media/(.+)$ {
location ~ ^/.well-known/pki-validation/(.+)$ {
alias /var/lib/combo/tenants/$host/well-known/pki-validation/$1;
}
location /robots.txt {
alias /var/lib/combo/www/robots.txt;
}
location / {
proxy_pass http://unix:/var/run/combo/combo.sock;
proxy_set_header Host $http_host;

View File

@ -23,10 +23,6 @@ location ~ ^/media/(.+)$ {
include snippets/publik-gzip.conf;
}
location /robots.txt {
alias /var/lib/corbo/www/robots.txt;
}
location / {
proxy_pass http://unix:/var/run/corbo/corbo.sock;
proxy_set_header Host $http_host;

View File

@ -23,10 +23,6 @@ location ~ ^/media/public/(.+)$ {
include snippets/publik-gzip.conf;
}
location /robots.txt {
alias /var/lib/fargo/www/robots.txt;
}
location / {
proxy_pass http://unix:/var/run/fargo/fargo.sock;
proxy_set_header Host $http_host;

View File

@ -23,10 +23,6 @@ location ~ ^/media/(.+)$ {
include snippets/publik-gzip.conf;
}
location /robots.txt {
alias /var/lib/hobo/www/robots.txt;
}
location / {
proxy_pass http://unix:/var/run/hobo/hobo.sock;
proxy_set_header Host $http_host;

View File

@ -23,10 +23,6 @@ location ~ ^/media/(.+)$ {
include snippets/publik-gzip.conf;
}
location /robots.txt {
alias /var/lib/mandayejs/www/robots.txt;
}
location / {
proxy_pass http://unix:/var/run/mandayejs/mandayejs.sock;
proxy_set_header Host $http_host;

View File

@ -23,10 +23,6 @@ location ~ ^/media/public/(.+)$ {
include snippets/publik-gzip.conf;
}
location /robots.txt {
alias /var/lib/passerelle/www/robots.txt;
}
location / {
proxy_pass http://unix:/var/run/passerelle/passerelle.sock;
proxy_set_header Host $http_host;

View File

@ -23,10 +23,6 @@ location ~ ^/media/(.+)$ {
include snippets/publik-gzip.conf;
}
location /robots.txt {
alias /var/lib/wcs/www/robots.txt;
}
location / {
proxy_pass http://unix:/var/run/wcs/wcs.sock;
proxy_set_header Host $http_host;

View File

@ -23,10 +23,6 @@ location ~ ^/media/(.+)$ {
include snippets/publik-gzip.conf;
}
location /robots.txt {
alias /var/lib/welco/www/robots.txt;
}
location / {
proxy_pass http://unix:/var/run/welco/welco.sock;
proxy_set_header Host $http_host;