Comments (5)
Thanks. I am glad that you got things working. I do use a docker container as well for the lxd dashboard.I find LXD wonderful for setting up infrastructure and custom applications and then often use docker containers for the simple application deployments. I find mixing both technologies works well.
from lxd-dashboard.
@kinghat. The first set of steps look good for setting up the webserver. You should not need to do anything else to after restarting Nginx. You can then connect to the dashboard by navigating in your web browser to the IP address of the nginx server you installed. So adding the lxc device is not necessary.
The LXD Dashboard does not have to be installed on your actual LXD servers. It connects to your LXD servers using the REST API.
Let me know if you still are having issues.
from lxd-dashboard.
You can then connect to the dashboard by navigating in your web browser to the IP address of the nginx server you installed. So adding the lxc device is not necessary.
The LXD Dashboard does not have to be installed on your actual LXD servers. It connects to your LXD servers using the REST API.
i installed lxd-dashboard into a container on the server where my other containers are so to be able to access it across my network dont i need to map the ports to the lxd-dashboard container i created and installed to?
from lxd-dashboard.
Ah, ok I see what you are doing now. Yes you will need to map the ports. I think the issue may be that Nginx listens on port 80 by default, and your current setup is looking for the web server to be listening on on a different port than that. You can change the listening port in the Nginx default file that was moved to /etc/nginx/sites-available/. Based on your setup the Nginx port should be changed to 8080. Let me know if that fixes it.
You would then need to restart Nginx after changing the default file.
Also you would want to connect using http:// rather than https:// unless you have reconfigured the default nginx file to use ssl/tls certs.
from lxd-dashboard.
Ah, ok I see what you are doing now. Yes you will need to map the ports. I think the issue may be that Nginx listens on port 80 by default, and your current setup is looking for the web server to be listening on on a different port than that. You can change the listening port in the Nginx default file that was moved to /etc/nginx/sites-available/. Based on your setup the Nginx port should be changed to 8080. Let me know if that fixes it. You would then need to restart Nginx after changing the default file. Also you would want to connect using http:// rather than https:// unless you have reconfigured the default nginx file to use ssl/tls certs.
ya this was an issue with my config. i got it working with:
devices:
eth0:
name: eth0
network: lxdbr0
type: nic
httpProxy:
connect: tcp:127.0.0.1:80
listen: tcp:0.0.0.0:4111
type: proxy
ironically, ive opted to use the docker container instead as its much lighter on resources. thanks for providing that! also, thanks for the work you've put into this. its very clean.
from lxd-dashboard.
Related Issues (20)
- .
- Close websockets on exit from exec HOT 3
- Use POST instead of GET when creating or updating resources HOT 1
- Console and Exec not proxied via dashboard HOT 1
- Need clarification on "remotes" and available images HOT 2
- Console and Exec content does not use whole available window size HOT 2
- Restoring a Snapshot results in an Error-Message HOT 2
- Console and Exec commands are not redirected to the correct host in a cluster HOT 2
- Add your own local LXD host HOT 1
- Undefined array key "source" HOT 1
- nginx needs to be configured for php8.1 with version 3.7.0 HOT 1
- How to expose the microsoft remote desktop port of an ubuntu22.04 VM? HOT 1
- Is this project still active? HOT 5
- . HOT 1
- Not working: Installing the LXD dashboard on Ubuntu 22.04 HOT 2
- How to accept LXD server's self-signed certificate on a VPS with out browser? HOT 2
- could not find driver HOT 1
- change context path like /lxd-dashboard HOT 1
- set up a full connected-network between multiple servers (without using cluster) HOT 1
- Add File Explorer Feature to LXD Dashboard HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lxd-dashboard.