everything
continuous-integration/drone/push Build is passing Details

This commit is contained in:
quackerd 2021-04-23 03:25:34 -04:00
parent 36ad8ad16b
commit b855b23c4b
3 changed files with 5 additions and 5 deletions

View File

@ -30,14 +30,14 @@ URL_XRAY_WIN=https://github.com/XTLS/Xray-core/releases/download/v$VER_XRAY/Xray
URL_XRAY_MAC=https://github.com/XTLS/Xray-core/releases/download/v$VER_XRAY/Xray-macos-64.zip
URL_XRAY_LINUX=https://github.com/XTLS/Xray-core/releases/download/v$VER_XRAY/Xray-linux-64.zip
wget $URL_SO -P zip/chrome/
wget $URL_NG -P image/nginx/index/android/
wget $URL_SO -O zip/chrome/SwitchyOmega_Chromium.zip
wget $URL_NG -P image/nginx/download/android/
wget $URL_XRAY_WIN -P zip/windows/
wget $URL_XRAY_MAC -P zip/macos/
wget $URL_XRAY_LINUX -P image/
zip -r pc.zip zip/
mv pc.zip image/nginx/index/
mv pc.zip image/nginx/download/
# build htpassword
touch .htpasswd

View File

@ -34,8 +34,8 @@ http {
index index.html;
}
location /index {
root /opt/nginx;
location /download {
root /opt/nginx/;
autoindex on;
auth_basic "Provide credentials to access downloads";
auth_basic_user_file "/opt/nginx/.htpasswd";