mirror of
https://github.com/getlago/lago.git
synced 2025-01-08 06:12:51 +07:00
7e2d2cd944
* 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>
19 lines
384 B
Plaintext
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;
|
|
} |