瀏覽代碼

:recycle: config for yoac

yoac-prod
maeda 3 年之前
父節點
當前提交
5725b1d4ef
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      nginx/configs/default.conf

+ 3
- 3
nginx/configs/default.conf 查看文件

@@ -1,6 +1,6 @@
1 1
 # Upstream sites for proxy-ing
2 2
 upstream wp {
3
-     server <YOUR_DOCKER_CONTAINER_NAME>;
3
+     server yoac-wp;
4 4
 }
5 5
 
6 6
 ### Redirect regular traffic to SSL
@@ -8,7 +8,7 @@ server {
8 8
     listen 80 default_server;
9 9
     listen [::]:80 default_server;
10 10
 
11
-    server_name <CHANGE_ME> www.<CHANGE_ME>;
11
+    server_name handwork2026.org www.handwork2026.org;
12 12
 
13 13
     location / {
14 14
         proxy_set_header    Host                 $host;
@@ -26,7 +26,7 @@ server {
26 26
     listen 443 ssl http2;
27 27
     listen [::]:443 ssl http2;
28 28
 
29
-    server_name <CHANGE_ME> www.<CHANGE_ME>;
29
+    server_name handwork2026 www.handwork2026;
30 30
 
31 31
     include snippets/letsencrypt.conf;
32 32
     include snippets/ssl-params.conf;

Loading…
取消
儲存