hugo docker & docker-compose ok
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user