diff --git a/nginx.conf b/nginx.conf index ebc9f3a943..7208204b27 100644 --- a/nginx.conf +++ b/nginx.conf @@ -36,5 +36,19 @@ http { gzip_min_length 256; gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype image/svg+xml; - include /etc/nginx/conf.d/*.conf; + server { + listen 80; + server_name localhost; + + location / { + root /usr/share/nginx/html; + try_files $uri $uri/ /; + index index.html index.htm; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } + } }