From 66af6f3a176dec3303933798532b65a482c1e13c Mon Sep 17 00:00:00 2001 From: Mohamed HASSANI Date: Thu, 27 Jun 2024 19:14:57 +0200 Subject: [PATCH] Add 'nginx.conf' --- nginx.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..90d49e2 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,15 @@ +server { + listen 80; + server_name codefirst.iut.uca.fr; + + root /var/www/html; + index index.html; + + location / { + try_files $uri $uri/ /index.html; + } + + location /assets/ { + alias /var/www/html/assets/; + } +}