aboutsummaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-02-12 03:26:21 +0000
committerJulio Capote <jcapote@gmail.com>2023-02-12 03:26:21 +0000
commitcbe4ff6c019cfd2d513ccf2f9689bd6533896ad1 (patch)
tree54a036134ce6f4c00ed6b3c50c7b849143652155 /nginx.conf
parent3ec9d8afe0f90f77239db0484a125f0747139a70 (diff)
downloadcapotej.com-cbe4ff6c019cfd2d513ccf2f9689bd6533896ad1.tar.gz
add nginx config
Diffstat (limited to '')
-rw-r--r--nginx.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/nginx.conf b/nginx.conf
new file mode 100644
index 0000000..257c568
--- /dev/null
+++ b/nginx.conf
@@ -0,0 +1,13 @@
+server {
+ listen 80 default_server;
+ listen [::]:80 default_server;
+
+ root /usr/share/nginx/html;
+
+ location / {
+ sendfile on;
+ tcp_nopush on;
+ sendfile_max_chunk 1m;
+ index index.html;
+ }
+} \ No newline at end of file