update
This commit is contained in:
parent
a0c1dba565
commit
136e7ad5b5
2 changed files with 21 additions and 1 deletions
20
configurations/ubuntu/nginx/panel.conf
Normal file
20
configurations/ubuntu/nginx/panel.conf
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Server globals
|
||||
user nginx;
|
||||
worker_processes 1;
|
||||
worker_rlimit_nofile 65535;
|
||||
error_log /var/log/alpha-x-panel/nginx-error.log;
|
||||
pid /run/alpha-x-panel-nginx.pid;
|
||||
pcre_jit on;
|
||||
|
||||
server {
|
||||
listen 8083 ssl;
|
||||
listen [::]:8083 ssl;
|
||||
server_name _;
|
||||
root /usr/local/alpha-x-panel/web;
|
||||
|
||||
location / {
|
||||
expires off;
|
||||
index index.php;
|
||||
}
|
||||
|
||||
}
|
|
@ -42,7 +42,7 @@ if [[ ! -f $DISTRO_INSTALLER_FILE ]]; then
|
|||
echo "AlphaXPanel not supporting this version of distribution"
|
||||
echo "Distro: ${DISTRO_NAME} Version: ${DISTRO_VERSION}"
|
||||
echo "Exiting..."
|
||||
# exit 1
|
||||
exit 1
|
||||
fi
|
||||
|
||||
bash $DISTRO_INSTALLER_FILE
|
||||
|
|
Loading…
Add table
Reference in a new issue