Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 551 Bytes

File metadata and controls

21 lines (13 loc) · 551 Bytes

lf-utils

nginx

Local development with HTTPS

  1. Install mkcert.

  2. Generate a local signed certificate:

$ mkcert "localhost" "127.0.0.1" "::1" "your-LAN-ipv4"
  1. Rename the files accordingly and move them to the nginx folder.
  • Certificate: .docker/nginx/ssl/localhost.pem
  • Private key: .docker/nginx/ssl/localhost-key.pem
  1. In case you'll be accessing the web server from another device, follow this.