cryptoeax / arbbot

Arbitrator, a bitcoin/altcoin arbitrage trading bot
https://gitter.im/cryptoeax-arbbot/Lobby
GNU General Public License v3.0
199 stars 78 forks source link

/etc/init.d/nginx restart fail #61

Closed ak9250 closed 6 years ago

ak9250 commented 6 years ago

Using the current webserver configuration recommended in the readme nginx restart is failing

the bot is running image however localhost is not working for the web configuration

sudo nginx -t showed there were no problems in configuration file

image

error.log is empty

image

please advise of any suggestions

ak9250 commented 6 years ago

using sudo service nginx restart it showing OK instead of failed but localhost is showing Apache 2 Ubuntu default page image

after changing listen 80 to listen [::]:80, localhost is showing the webinterface server {

    listen [::]:80
    root /var/www/arbbot/web;
    index index.html;
    server_name localhost;

    location / {

            auth_basic           "Restricted area";
            auth_basic_user_file /var/www/conf/arbitrage.passwd;

    }

    location ~ \.php$ {

      include snippets/fastcgi-php.conf;
      fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;

    }

}

cryptoeax commented 6 years ago

Please stop filing nginx issues in this repository. Thank you.