-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
First time use: Nginx.conf, manager-api and dashboard #2272
Comments
Hi @MrLightSpeed0 I'm only familiar with apisix itself, so I could only answer the first question. Yes nginx.conf would be regenerated each time you start apisix, and if you notice, there is waring on the top of nginx.conf says do not edit this file. The recommended way is to comment out the code in bin/apisix Lines 360 to 365 in 6e0da45
Hope it helps :) |
For the 3rd problem, you could directly remove goproxy |
For the first problem, you can also disable |
For the remain problems, I create an issue in dashboard: apache/apisix-dashboard#500, and we can move the discussion there. |
Thx I missed this option |
very nice. thank you so much. that worked well. I can now start apisix! I will follow up on the dashboard question in the other board. let me close this "issue" and I will open a new issue asking another question. |
Issue description
I downloaded apisix yesterday and I have encountered a few issues during the build process. The version is apisix 1.5 (the latest one) for Ubuntu 18.04.
#1. at the last step when I run ./bin/apisix start, I got an error message saying the address is not support by protocol. I looked it up and knowing that was related the ipv6 is not supported on, so I went to conf/nginx.conf file and commented out the following two lines:
listen [::]:9080 ...
listen [::]:9443 ...
however, after I ran the start command again, those two values got reverted back (i.e. un-commented) to what they were. it seems like the nginix.conf is regenerated every time when I run the apisix start. Could you please advise how this file is regenerated each time and what I should do to not include them? I did look at my system and ipv6 is indeed disabled and not supported.
#2. I tried to build dashboard, go build needs to import following:
"github.com/apisix/manager-api/conf"
"github.com/apisix/manager-api/log"
"github.com/apisix/manager-api/route"
However I kept getting the errors saying those cannot found. I even tried to do, say: go get github.com/apisix/manager-api/conf, etc. they could not be found. I searched the github and unable to find them. Please advise on this.
#3, Since I could not move forward with #2, I tried to do docker for the dashboard. again it failed with timed-out for what it looked like that something to with GoProxy tried to dial tcp 119.28.201.50:443 I tried to see what the ip address seemed to be un-resolvable. I m from US and didnt think I needed GoProxy. so please advise on this as well.
Thank you!
Environment
apisix version
): 1.5The text was updated successfully, but these errors were encountered: