ECS-Cloudformation/nginx/nginx.conf

25 lines
419 B
Nginx Configuration File
Raw Normal View History

2023-09-10 07:14:03 +00:00
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html;
}
2023-09-10 13:56:04 +00:00
}
server {
listen 443 ssl;
server_name localhost;
ssl_certificate /etc/nginx/ssl/commit-kfir.crt;
ssl_certificate_key /etc/nginx/ssl/commit-kfir.key;
location / {
root /usr/share/nginx/html;
index index.html;
}
}