lago/extra/nginx-selfsigned.conf
Jérémy Denquin 7e2d2cd944
misc: add ssl support (#75)
* misc: add SSL support for docker config

* add extra files

* feat: Add support for LAGO_DISABLE_SIGNUP env var (#73)

* chore: remove .DS_Store file

* misc: add SSL support for docker config

* fix rebase issue

* fix review

Co-authored-by: Vincent Pochet <vincent@getlago.com>
2022-07-26 11:52:08 +02:00

19 lines
384 B
Plaintext

server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;
ssl_dhparam /etc/ssl/certs/dhparam.pem;
}