diff --git a/nginx.conf.tmpl b/nginx.conf.tmpl index 9e4c4fc..c055bc2 100644 --- a/nginx.conf.tmpl +++ b/nginx.conf.tmpl @@ -228,7 +228,6 @@ server { proxy_pass {{ env "NGINX_WEBSEED_PROXY_URI" }}; {{ else }} - {{ if (env "NGINX_WEBSEED_CDN_ENABLE") }} # Use this in tandem with fuse-mounting i.e. https://docs.joinpeertube.org/admin-remote-storage # to serve files directly from a public bucket without proxying. @@ -242,7 +241,6 @@ server { rewrite ^/static/(.*)$ /$1 break; try_files $uri @api; {{ end }} - {{ end }} } }