Coder Social home page Coder Social logo

HTTPS about vestacp HOT 5 CLOSED

niiknow avatar niiknow commented on June 10, 2024
HTTPS

from vestacp.

Comments (5)

noogen avatar noogen commented on June 10, 2024

If no $VESTA_DOMAIN variable was provided, there should be a default website under '/home/admin/web/6da8868c6763.example.com' folder. This is only http website on port 80 and no https on port 443.

The default VESTA control panel website is under '/usr/local/vesta/web' folder using ssl under the '/usr/local/vesta/ssl' folder which is mapped to port 8083 (with auto-signed ssl).

Can you provide any log from docker otherwise it's hard for me to troubleshoot?

from vestacp.

markolofsen avatar markolofsen commented on June 10, 2024

Ok, but I didn't specified $VESTA_DOMAIN when did first docker-install. What can I do?
Can I fixed it somewhere else?

from vestacp.

noogen avatar noogen commented on June 10, 2024

You don't need $VESTA_DOMAIN for ssl to work on port 443. It's just not going to be a trusted cert. I'm not sure how I can help you here without any error log or example site.

from vestacp.

Kupinet avatar Kupinet commented on June 10, 2024

@noogen I'll ask differently) Where it is necessary to specify $VESTA_DOMAIN? With first install from the docker or somewhere else in the VestaCP files?

from vestacp.

noogen avatar noogen commented on June 10, 2024

@Kupinet answer for the How: It's not necessary to have it on install from docker. You can pass it anytime you need the panel to have SSL. It is part of the startup process - https://github.com/niiknow/vestacp/blob/master/rootfs/etc/my_init.d/startup.sh#L53 - so you can pass it when you are ready. Just make sure the domain DNS is configured to your server IPv4 address. It work best on a system with a single IPv4.

As for the where answer: https://stackoverflow.com/questions/30494050/how-do-i-pass-environment-variables-to-docker-containers

from vestacp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.