42_Inception/srcs/nginx/nginx.conf

16 lines
264 B
Nginx Configuration File

server {
listen 443 ssl;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;
root /var/www/html;
index index.html;
location / {
try_files $uri $uri/ =404;
}
}