summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/nginx/files/default_server.site
diff options
context:
space:
mode:
Diffstat (limited to 'meta-webserver/recipes-httpd/nginx/files/default_server.site')
-rw-r--r--meta-webserver/recipes-httpd/nginx/files/default_server.site14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/files/default_server.site b/meta-webserver/recipes-httpd/nginx/files/default_server.site
new file mode 100644
index 0000000000..7a8a215cfa
--- /dev/null
+++ b/meta-webserver/recipes-httpd/nginx/files/default_server.site
@@ -0,0 +1,14 @@
1# Default server configuration
2server {
3 listen 80 default_server;
4 listen [::]:80 default_server;
5
6 root /var/www/localhost/html;
7
8 index index.html index.htm;
9
10 server_name _;
11
12 # redirect server error pages to the static page /50x.html
13 error_page 500 502 503 504 /50x.html;
14}