aboutsummaryrefslogtreecommitdiff
path: root/utils/nginx-dev.conf
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2024-07-28 19:46:20 -0500
committerChristian Cleberg <hello@cleberg.net>2024-07-28 19:46:20 -0500
commit2be43cc479dfd4cfb621f14381330c708291e324 (patch)
tree7ac50f99425c5524c0820360754045b80d1bafcc /utils/nginx-dev.conf
parentafe76ac7d7498b862abaa623790b91410e34574d (diff)
downloadcleberg.net-2be43cc479dfd4cfb621f14381330c708291e324.tar.gz
cleberg.net-2be43cc479dfd4cfb621f14381330c708291e324.tar.bz2
cleberg.net-2be43cc479dfd4cfb621f14381330c708291e324.zip
conversion from Zola to Weblorg
Diffstat (limited to 'utils/nginx-dev.conf')
-rw-r--r--utils/nginx-dev.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/nginx-dev.conf b/utils/nginx-dev.conf
new file mode 100644
index 0000000..ed94af7
--- /dev/null
+++ b/utils/nginx-dev.conf
@@ -0,0 +1,17 @@
+server {
+ server_name cleberg.net www.cleberg.net;
+
+ root /usr/share/nginx/html;
+ index index.html;
+ autoindex on;
+
+ access_log /var/log/nginx/cleberg.net.access.log;
+ error_log /var/log/nginx/cleberg.net.error.log;
+
+ location / {
+ try_files $uri $uri/ =404;
+ }
+
+ listen [::]:80;
+ listen 80;
+}