summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2025-04-09 12:13:18 +0800
committerHsieh Chin Fan <pham@topo.tw>2025-04-09 12:13:18 +0800
commit545b11ceecd3e6f58c1e59222de4ce836856db8d (patch)
tree516e79a45368a9cbc24ced2adbc6679b05b67fda
parent6dff4e76c03b35327d5d3af9c7531c7b6d564b90 (diff)
Update
-rw-r--r--nginx/sites-available/vps34
1 files changed, 32 insertions, 2 deletions
diff --git a/nginx/sites-available/vps b/nginx/sites-available/vps
index 2a93212..37c4ba9 100644
--- a/nginx/sites-available/vps
+++ b/nginx/sites-available/vps
@@ -328,7 +328,16 @@ server {
328 location ^~ /fancyindex/ { 328 location ^~ /fancyindex/ {
329 root /home/pham/site/nginx/modules; 329 root /home/pham/site/nginx/modules;
330 } 330 }
331 fancyindex_ignore dist plugin .*png .*jpg; 331 fancyindex_ignore dist plugin .*png .*jpg ^\..*;
332
333 add_header Cache-Control "no-cache" always;
334}
335
336server {
337 server_name 4ba.tw 202.182.105.248;
338 listen 80;
339
340 root /srv/recall/address;
332 341
333 add_header Cache-Control "no-cache" always; 342 add_header Cache-Control "no-cache" always;
334} 343}
@@ -375,8 +384,29 @@ server {
375 384
376} 385}
377 386
387server {
388 server_name balabababa.tw;
389 listen 80;
390 listen 443 ssl;
391 ssl_certificate /home/pham/.acme.sh/balabababa.tw_ecc/fullchain.cer;
392 ssl_certificate_key /home/pham/.acme.sh/balabababa.tw_ecc/balabababa.tw.key;
393
394 root /srv/recall/zuola;
395 add_header Cache-Control "no-cache" always;
396}
397server {
398 server_name offline.babababa.tw;
399 listen 80;
400 listen 443 ssl;
401 ssl_certificate /home/pham/.acme.sh/offline.babababa.tw_ecc/fullchain.cer;
402 ssl_certificate_key /home/pham/.acme.sh/offline.babababa.tw_ecc/offline.babababa.tw.key;
403
404 root /srv/recall/zuola;
405 add_header Cache-Control "no-cache" always;
406}
407
378#server { 408#server {
379# server_name rb.topo.tw riverbien.topo.tw; 409# server_name offline.babababa.tw;
380# root /home/pham/Downloads; 410# root /home/pham/Downloads;
381# listen 80; 411# listen 80;
382#} 412#}