diff --git a/src/freedombone-app-privatebin b/src/freedombone-app-privatebin index 0667cd84..49a78a0e 100755 --- a/src/freedombone-app-privatebin +++ b/src/freedombone-app-privatebin @@ -374,7 +374,7 @@ function install_privatebin { echo ' location / {'; } >> "$privatebin_nginx_site" function_check nginx_limits nginx_limits "$PRIVATEBIN_DOMAIN_NAME" '15m' - { echo ' try_files $uri $uri/ @privatebin;'; + { echo " try_files \$uri \$uri/ @privatebin;"; echo ' }'; echo ''; echo ' # Restrict access that is unnecessary anyway'; @@ -414,7 +414,7 @@ function install_privatebin { echo ' location / {'; } >> "$privatebin_nginx_site" function_check nginx_limits nginx_limits "$PRIVATEBIN_DOMAIN_NAME" '15m' - { echo ' try_files $uri $uri/ @privatebin;'; + { echo " try_files \$uri \$uri/ @privatebin;"; echo ' }'; echo ''; echo ' # Restrict access that is unnecessary anyway';