From d97ebff27391d5c653404d2db3ae463e11353437 Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Sat, 25 Nov 2023 01:32:47 +0200 Subject: [PATCH] update --- .DS_Store | Bin 6148 -> 6148 bytes .github/workflows/compile-ngix-package.yml | 23 ++++++++++++++ compilators/debian/control | 10 ++++++ compilators/debian/custom-ngix.txt | 34 +++++++++++++++++++++ compilators/debian/nginx-compile.sh | 32 +++++++++++++++++++ compilators/debian/nginx.service.txt | 22 +++++++++++++ configurations/ubuntu/nginx/panel.conf | 2 ++ web/.DS_Store | Bin 10244 -> 10244 bytes web/public/index.php | 12 ++++++++ web/sudo/alphaxweb | 4 +++ web/user.sh | 12 ++++++++ 11 files changed, 151 insertions(+) create mode 100644 .github/workflows/compile-ngix-package.yml create mode 100644 compilators/debian/control create mode 100644 compilators/debian/custom-ngix.txt create mode 100644 compilators/debian/nginx-compile.sh create mode 100644 compilators/debian/nginx.service.txt create mode 100644 web/sudo/alphaxweb create mode 100644 web/user.sh diff --git a/.DS_Store b/.DS_Store index e77f530dd1e0b0974b876628f7058dcdb16d2b2b..f0f93a21f35d6e3a86cb4115a301a2e4d50f8506 100644 GIT binary patch delta 31 ncmZoMXfc@J&&abeU^g=(&tx7J`_08HQx MWj^y}c8 /etc/systemd/system/alphax-nginx.service << EOF +[Unit] +Description=alphax-nginx +After=network.target + +[Service] +Type=forking +ExecStart=/usr/local/alphax/nginx/sbin/nginx +ExecReload=/usr/local/alphax/nginx/sbin/nginx -s reload +ExecStop=/usr/local/alphax/nginx/sbin/nginx -s quit +PrivateTmp=true + +[Install] +WantedBy=multi-user.target +EOF + +# Start nginx service +systemctl daemon-reload +systemctl enable alphax-nginx.service +systemctl start alphax-nginx.service diff --git a/configurations/ubuntu/nginx/panel.conf b/configurations/ubuntu/nginx/panel.conf index 0976fe3..6c5cd7f 100644 --- a/configurations/ubuntu/nginx/panel.conf +++ b/configurations/ubuntu/nginx/panel.conf @@ -1,3 +1,5 @@ +user alphaxweb; + server { listen 3036; listen [::]:3036; diff --git a/web/.DS_Store b/web/.DS_Store index 83d8c8de51db92beeedbaf321ec807a6ca15d934..47b3e3423624b9e69b05856adf56fe74baacac0a 100644 GIT binary patch delta 283 zcmZn(XbG6$&uF(XU^hRb-DDmCTUizcJ%&_Z9XnCi+S>9i4~i-N(Qk_Y&f==UEvqYW@%Ao FW&nU9B1`}P diff --git a/web/public/index.php b/web/public/index.php index 24d0093..ad45f1f 100644 --- a/web/public/index.php +++ b/web/public/index.php @@ -1,4 +1,16 @@