Create nginx.conf.template
Browse files- nginx.conf.template +10 -0
nginx.conf.template
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
server {
|
| 2 |
+
listen ${PORT};
|
| 3 |
+
listen [::]:${PORT};
|
| 4 |
+
|
| 5 |
+
location / {
|
| 6 |
+
root /usr/share/nginx/html;
|
| 7 |
+
index index.html index.htm;
|
| 8 |
+
try_files $uri $uri/ =404;
|
| 9 |
+
}
|
| 10 |
+
}
|