Author

Topic: Setting up a pool, need help [Linux] (PAID WORK) (Read 221 times)

full member
Activity: 267
Merit: 100
Just a guess of some possibilities:

Your index file is not at the root path.
Nginx doesn't have sufficient rights to access the file.
The index file itself contains any kind of redirects.

it was Nginx doesn't have sufficient rights to access the file, I fixed that now I am still having issues with

"Stats API Temporarily Down
Usually it's just a temporal issue and mining is not affected."

If anyone knows please help.
member
Activity: 149
Merit: 22
🔴🔵 FoxMixer.com 🔵🔴
Just a guess of some possibilities:

Your index file is not at the root path.
Nginx doesn't have sufficient rights to access the file.
The index file itself contains any kind of redirects.
full member
Activity: 267
Merit: 100
Why does this Nginx config result in “rewrite or internal redirection cycle”
I cannot figure out why this error is happening: "rewrite or internal redirection cycle while internally redirecting to "/index.html"" in nginx.conf

Code:
user www-data; worker_processes auto; pid /run/nginx.pid; 

events { worker_connections 768; # multi_accept on; }

 http {

 sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; # server_tokens off;

 # server_names_hash_bucket_size 64; # server_name_in_redirect off;

 include /etc/nginx/mime.types; default_type application/octet-stream;

 ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE #ssl_prefer_server_ciphers on;

 access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log;

 gzip on; gzip_disable "msie6";

 upstream api { server 127.0.0.1:8080; }

 server { listen 0.0.0.0:80; root /open-ethereum-pool/www/dist; index index.html index.htm;

 server_name localhost;

 location /api { proxy_pass http://api; }

 location / { try_files $uri $uri/ /index.html; }

 }

}

Website shows: 500 Internal Server Error

nginx/1.10.3 (Ubuntu)
Jump to: