David 10 年之前
父節點
當前提交
5dabde348e
共有 1 個文件被更改,包括 13 次插入0 次删除
  1. 13 0
      templates/testfile

+ 13 - 0
templates/testfile

@@ -0,0 +1,13 @@
+server {
+	listen       80;
+	listen       443 ssl;
+	server_name  $domain;
+	location /.well-known {
+		root /var/www/ssl-proof/;
+	}
+
+	location /back/ {
+		add_header Content-Type text/json;
+		proxy_pass http://$IP:$PORT/;
+	}
+}