Simple deployment to EC2 (#134)
* aws ami * cloud-init from base ami * rename * readme and ubuntu cloud-init * nginx ssl termination * small readme fixes * nginx on ubuntu cloud-init * better default config, nginx websocket config * small change to readme * packer does not need to start services * standardize nginx config * path fixes * small fixes * end line return * move readme to docs repo * remove lk-image cloud-init and bake into ami
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
ssl_certificate "/opt/livekit-server/ssl/server.crt";
|
||||
ssl_certificate_key "/opt/livekit-server/ssl/server.key";
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:7880;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_read_timeout 86400;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user