hugo docker & docker-compose ok

This commit is contained in:
2021-07-24 10:36:26 +02:00
parent ae79133b69
commit c9cf197d56
7 changed files with 98 additions and 60 deletions
+23
View File
@@ -0,0 +1,23 @@
# config pour le nginx dans le caontainer
server {
listen 80;
listen [::]:80;
server_name localhost;
location / {
root /var/www/html;
index index.html index.htm;
}
error_page 404 /404.html; # Here and below is 404 error handling docs tried to describe
location = /404.html {
root /var/www/html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www/html;
}
}