default.conf
328 Bytes
server {
listen 80;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl default_server;
server_name $HOST;
ssl_certificate $SSL_CA;
ssl_certificate_key $SSL_KEY;
location / {
root /usr/web/build;
index index.html;
try_files $uri $uri/ /index.html;
}
}