🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2023-03-15 15:28:33 -04:00
parent f1986190b1
commit 93a953cc31
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
3 changed files with 3 additions and 3 deletions

View File

@ -56,8 +56,8 @@ __update_conf_files() {
[ -f "$www_dir/www/health/index.txt" ] || echo 'ok' >"$www_dir/www/health/index.txt"
[ -f "$www_dir/www/health/index.json" ] || echo '{ "status": "ok" }' >"$www_dir/www/health/index.json"
#
__replace "SERVER_PORT" "${SERVICE_PORT:-80}" "$etc_dir/nginx.conf"
__replace "SERVER_PORT" "${SERVICE_PORT:-80}" "$etc_dir/vhosts.d/nginx.conf"
__replace "REPLACE_SERVER_PORT" "${SERVICE_PORT:-80}" "$etc_dir/nginx.conf"
__replace "REPLACE_SERVER_PORT" "${SERVICE_PORT:-80}" "$etc_dir/vhosts.d/default.conf"
[ -f "$www_dir/www/index.php" ] && __replace "SERVER_SOFTWARE" "dns" "$www_dir/www/index.php"
[ -f "$www_dir/www/index.html" ] && __replace "SERVER_SOFTWARE" "dns" "$www_dir/www/index.html"
if [ -z "$PHP_BIN_DIR" ]; then

View File

@ -23,7 +23,7 @@ http {
map $http_upgrade $connection_upgrade { default upgrade; '' close; }
server {
listen SERVER_PORT;
listen REPLACE_SERVER_PORT;
root /usr/local/share/ariang;
index index.html;
proxy_intercept_errors off;