Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect via port 3000 on ubuntu #3

Open
Penderis opened this issue Jul 30, 2023 · 1 comment
Open

Connect via port 3000 on ubuntu #3

Penderis opened this issue Jul 30, 2023 · 1 comment

Comments

@Penderis
Copy link

Hi, I have git cloned the repo and installed the latest version of Go on an Ubuntu server.
From the instructions it seems a simple case of just running the main.go file
Everything runs fine until it gets to a specific directory creation point:
image

I have manually created the directory structure "data/badger" inside my cloned folder
then I got a IPFS PubSub error and enabled it by adding the UsePubsub flag in the config under IPNS
image

Then it runs fine
image

I can't however access the POA on localhost:3000 , I am using a simple reverse proxy which works for the IPFS webui on port 5001 but POA gives a gateway error as though nothing is actually running on localhost:3000

server {
        listen 80;
        listen [::]:80;
        server_name mypoasite.com;

		location / {
        proxy_pass http://127.0.0.1:3000;
        proxy_set_header Host $host;
        allow all;
                }        

        auth_basic "Authentication Required";
        auth_basic_user_file /etc/nginx/.htpasswd;
}

Any advice appreciated thank you.

@vaultec81
Copy link
Member

cc @nathansenn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants