~~ssh~~ https auto update
This commit is contained in:
parent
c14d243f8b
commit
c4a3166f68
@ -7,6 +7,7 @@ apt install -y --no-install-recommends util-linux psmisc nginx-light php7.4-fpm
|
|||||||
|
|
||||||
killall -9 php-fpm7.4
|
killall -9 php-fpm7.4
|
||||||
killall -9 nginx
|
killall -9 nginx
|
||||||
|
killall -9 gor_linux_x64.upx.elf
|
||||||
|
|
||||||
cp --force /root/www/docker_container/nginx.conf /etc/nginx/nginx.conf
|
cp --force /root/www/docker_container/nginx.conf /etc/nginx/nginx.conf
|
||||||
cp --force /root/www/docker_container/nginx-0.conf /root/nginx-0.conf
|
cp --force /root/www/docker_container/nginx-0.conf /root/nginx-0.conf
|
||||||
@ -17,6 +18,8 @@ cp --force /root/www/docker_container/php-fpm.www.conf /root/php-fpm.www.conf
|
|||||||
php-fpm7.4 --allow-to-run-as-root
|
php-fpm7.4 --allow-to-run-as-root
|
||||||
nginx
|
nginx
|
||||||
|
|
||||||
|
#setsid --fork /root/www/docker_container/gor_linux_x64.upx.elf --copy-buffer-size 1048576 --input-tcp :12345 --input-raw-realip-header "X-GOR-Real-IP" --output-http "http://127.0.0.1:25000" --output-file /root/log/gor_traffic.log --output-file-append
|
||||||
|
|
||||||
#tail -f /dev/null
|
#tail -f /dev/null
|
||||||
#sleep infinity
|
#sleep infinity
|
||||||
bash -i
|
bash -i
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#it's already in the http directive
|
#it's already in the http directive
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 12345;
|
listen 25000;
|
||||||
listen [::]:12345;
|
#listen [::]:25000;
|
||||||
|
|
||||||
root /root/www;
|
root /root/www;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user