Create nginx.conf
Browse files- nginx.conf +13 -0
nginx.conf
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
server {
|
2 |
+
listen 80;
|
3 |
+
listen [::]:80;
|
4 |
+
server_name localhost;
|
5 |
+
error_log off;
|
6 |
+
|
7 |
+
location / {
|
8 |
+
root /usr/share/nginx/html;
|
9 |
+
index index.html index.htm;
|
10 |
+
}
|
11 |
+
|
12 |
+
error_page 404 =200 /index.html;
|
13 |
+
}
|