diff --git a/usr/share/easyengine/nginx/html/basic.conf b/usr/share/easyengine/nginx/html/basic.conf new file mode 100644 index 00000000..f68ac742 --- /dev/null +++ b/usr/share/easyengine/nginx/html/basic.conf @@ -0,0 +1,16 @@ +server { + + server_name example.com www.example.com; + + access_log /var/log/nginx/example.com.access.log; + error_log /var/log/nginx/example.com.error.log; + + root /var/www/example.com/htdocs; + index index.html index.htm; + + location / { + try_files $uri $uri/ /index.html; + } + + include /etc/nginx/common/locations.conf; +}