hyperdx/docker/nginx
2024-12-17 18:29:54 +00:00
..
nginx.conf feat: add example nginx ssl reverse proxy service (#535) 2024-12-17 18:29:54 +00:00
README.md feat: add example nginx ssl reverse proxy service (#535) 2024-12-17 18:29:54 +00:00

Setup SSL nginx reverse proxy

  1. Install mkcert mkcert
  2. Exec mkcert mydomain.local and mkcert -install
  3. Make sure the pem files are used in the nginx.conf file
  4. Update HYPERDX_APP_URL to https://mydomain.local in the .env file
  5. Update HYPERDX_APP_PORT to 443 (same as the nginx server port) in the .env file
  6. Add the following to the /etc/hosts file
127.0.0.1 mydomain.local
  1. Comment out ports mapping in the docker-compose.yml file for app service (so that the app is not exposed to the host)
  2. Enable nginx service in the docker-compose.yml file
  3. Run docker-compose up -d
  4. Open https://mydomain.local in the browser