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

Add SSL support #4

Open
sarahcssiqueira opened this issue Jul 26, 2023 · 0 comments
Open

Add SSL support #4

sarahcssiqueira opened this issue Jul 26, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@sarahcssiqueira
Copy link
Owner

Is your feature request related to a problem? Please describe.

  • The current environment supports only HTTP, that means the local and production versions are different and sometimes can be more difficult to spot problems.

Describe the solution you'd like

  • Allow the users easily customize the "domain name" instead of "localhost:port".

Describe alternatives you've considered

  • Use a self-signed certificate (at first I thought about use Let's Encrypt or mkcert but more research is required).
  • Use virtual hosts from the Apache web server. By default, Apache on Ubuntu has one server block enabled that is configured to serve documents from the /var/www/html directory, but we can encapsulate configuration details editing/creating a virtual host file with the specific directives on /etc/apache2/sites-available/domain-name.conf
  • The file content mapped (which could be easily customized) would be something like:
 <VirtualHost *:443>
    ServerAdmin webmaster@localhost
    ServerName domain-name.com
    ServerAlias www.domain-name.com
    DocumentRoot /var/www/domain-name
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
@sarahcssiqueira sarahcssiqueira added the enhancement New feature or request label Jul 26, 2023
@sarahcssiqueira sarahcssiqueira self-assigned this Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant