ECS-Cloudformation/nginx/nginx.conf
2023-09-10 16:56:04 +03:00

24 lines
419 B
Nginx Configuration File

server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html;
}
}
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;
}
}