Role service-nginx-firmware: strip ' (legacy)' from domain_name
This commit is contained in:
parent
fed89c5910
commit
e16b92563d
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ server {
|
||||||
|
|
||||||
include /etc/nginx/snippets/letsencrypt-acme-challenge.conf;
|
include /etc/nginx/snippets/letsencrypt-acme-challenge.conf;
|
||||||
|
|
||||||
root /var/www/html/firmware/{{ mesh.domain_name.lower() }};
|
root /var/www/html/firmware/{{ mesh.domain_name.lower().rsplit(' ')[0] }};
|
||||||
location / {
|
location / {
|
||||||
autoindex on;
|
autoindex on;
|
||||||
autoindex_exact_size off;
|
autoindex_exact_size off;
|
||||||
|
@ -79,7 +79,7 @@ server {
|
||||||
|
|
||||||
include /etc/nginx/snippets/letsencrypt-acme-challenge.conf;
|
include /etc/nginx/snippets/letsencrypt-acme-challenge.conf;
|
||||||
|
|
||||||
root /var/www/html/firmware/{{ mesh.domain_name.lower() }};
|
root /var/www/html/firmware/{{ mesh.domain_name.lower().rsplit(' ')[0] }};
|
||||||
location / {
|
location / {
|
||||||
autoindex on;
|
autoindex on;
|
||||||
autoindex_exact_size off;
|
autoindex_exact_size off;
|
||||||
|
|
Loading…
Reference in a new issue