Mise à jour de 'cryptide_project/nginx.conf'
continuous-integration/drone/push Build is passing Details

pull/97/head^2
Thomas CHAZOT 1 year ago
parent d6dedc636e
commit dd2a0e4215

@ -1,13 +1,25 @@
server {
listen 80;
location / {
location /containers/Crypteam-website/ {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
try_files $uri $uri/ /containers/Crypteam-website/index.html;
}
error_page 404 /index.html;
# Ajout du préfixe pour les fichiers JS
location ~ ^/containers/Crypteam-website/static/js/ {
root /usr/share/nginx/html;
try_files $uri $uri/ /containers/Crypteam-website/index.html;
}
# Ajout du préfixe pour les fichiers CSS
location ~ ^/containers/Crypteam-website/static/css/ {
root /usr/share/nginx/html;
try_files $uri $uri/ /containers/Crypteam-website/index.html;
}
error_page 404 /containers/Crypteam-website/index.html;
location ~ /\. {
deny all;

Loading…
Cancel
Save