summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-12-23 11:08:47 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-12-23 11:09:49 +0800
commitd239d46dd849e85e2b3971649692bc952b87a61c (patch)
treebd5250c176c1c3da186f6b6c51ce393d9b089e80
parent35852ebd3c8b855418591c2a4df7a1e7e4a401fd (diff)
Nginx: apply .tmp config
-rw-r--r--.gitignore1
-rw-r--r--nginx/sites-available/vps8
2 files changed, 3 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1944fd6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
*.tmp
diff --git a/nginx/sites-available/vps b/nginx/sites-available/vps
index ce933c5..508bd40 100644
--- a/nginx/sites-available/vps
+++ b/nginx/sites-available/vps
@@ -30,17 +30,14 @@ server {
30 #autoindex_exact_size off; 30 #autoindex_exact_size off;
31 disable_symlinks off; 31 disable_symlinks off;
32 32
33
34 include /etc/nginx/sites-available/topo.tw.tmp;
33 include /home/pham/site/nginx/modules/fancyindex/fancyindex.conf; 35 include /home/pham/site/nginx/modules/fancyindex/fancyindex.conf;
34 36
35 location ^~ /fancyindex/ { 37 location ^~ /fancyindex/ {
36 root /home/pham/site/nginx/modules; 38 root /home/pham/site/nginx/modules;
37 } 39 }
38 40
39 #include /home/pham/git/Nginx-Fancyindex-Theme/fancyindex.conf;
40 #location ^~ /Nginx-Fancyindex-Theme-light/ {
41 # root /home/pham/git/Nginx-Fancyindex-Theme;
42 #}
43
44 # charset 41 # charset
45 charset utf-8; 42 charset utf-8;
46 charset_types *; 43 charset_types *;
@@ -301,7 +298,6 @@ server {
301 298
302 # return 204; # OK (no content) 299 # return 204; # OK (no content)
303 #} 300 #}
304
305} 301}
306 302
307# git server 303# git server