Typo
This commit is contained in:
parent
59f451084b
commit
1ec5f168a3
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ server {
|
||||||
include {{ printf "/etc/nginx/vhost.d/%s" $host }};
|
include {{ printf "/etc/nginx/vhost.d/%s" $host }};
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
@rev / {
|
location @rev {
|
||||||
proxy_pass {{ $proto }}://{{ $host }};
|
proxy_pass {{ $proto }}://{{ $host }};
|
||||||
{{ if (exists (printf "/etc/nginx/htpasswd/%s" $host)) }}
|
{{ if (exists (printf "/etc/nginx/htpasswd/%s" $host)) }}
|
||||||
auth_basic "Restricted {{ $host }}";
|
auth_basic "Restricted {{ $host }}";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue