Skip to content
Snippets Groups Projects
Commit 52ada71e authored by ketominer's avatar ketominer
Browse files

.

parent 66b21973
No related branches found
No related tags found
No related merge requests found
......@@ -114,13 +114,17 @@ if [ ! -e /opt/dojo/samourai-dojo ]; then
fi
sed -e "s/php7.2-fpm.sock/php7.2-fpm-inner.sock/" -i /etc/php/7.2/fpm/pool.d/www.conf
service php7.2-fpm start
rm -f /usr/bin/ip
ln -s /sbin/ip /usr/bin/ip
killall dpkg
apt-get update
apt-get -y install php7.2-gd inotify-tools php-gnupg php7.2-curl man telnet curl wget screen python3-dev python3-venv
apt-get -y install php7.2-gd inotify-tools php-gnupg php7.2-curl man telnet curl wget screen python3-dev python3-venv net-tools
adduser bitcoin debian-tor
......
......@@ -49,16 +49,16 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto;
location / {
proxy_pass http://btcpay;
}
#location / {
# proxy_pass http://btcpay;
#}
location /admin {
location / {
try_files $uri $uri/ =404;
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
fastcgi_pass unix:/run/php/php7.2-fpm-inner.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment