summaryrefslogtreecommitdiff
path: root/deploy/nginx-blog.conf
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-19 19:42:42 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-19 19:42:42 +0800
commit9d71d06a1f3ee294634bf45373bbf1944bf03caf (patch)
treee2f11ba0461615d51ea9e5469d0fd0038ba0e971 /deploy/nginx-blog.conf
parentead9932988f519932af39767ae09cf55081bd17f (diff)
downloadblog-9d71d06a1f3ee294634bf45373bbf1944bf03caf.tar.gz
chore: add self-hosted deploy pipeline (blog-deploy)
Diffstat (limited to 'deploy/nginx-blog.conf')
-rw-r--r--deploy/nginx-blog.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/deploy/nginx-blog.conf b/deploy/nginx-blog.conf
new file mode 100644
index 00000000..9c8792fd
--- /dev/null
+++ b/deploy/nginx-blog.conf
@@ -0,0 +1,14 @@
+server {
+ listen 80 default_server;
+ server_name _;
+ server_tokens off;
+
+ root /var/www/blog/current;
+ index index.html;
+ charset utf-8;
+ client_max_body_size 0;
+
+ location / {
+ try_files $uri $uri/ =404;
+ }
+}