aboutsummaryrefslogtreecommitdiff
path: root/template/nginx/common
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-11-11 01:12:29 +0800
committerYuqian Yang <crupest@crupest.life>2024-12-22 17:45:13 +0800
commitce79647caae24e77fb2e978541a30dca29026b8a (patch)
tree4197980a04943b42941d3fce7cb16d1f7ea400bd /template/nginx/common
parentd4cc5937df9f45391c4f980d3978b91740bfecc0 (diff)
downloadcrupest-ce79647caae24e77fb2e978541a30dca29026b8a.tar.gz
crupest-ce79647caae24e77fb2e978541a30dca29026b8a.tar.bz2
crupest-ce79647caae24e77fb2e978541a30dca29026b8a.zip
HALF WORK: 2024.12.22
code.
Diffstat (limited to 'template/nginx/common')
-rw-r--r--template/nginx/common/acme-challenge3
-rw-r--r--template/nginx/common/https-redirect3
-rw-r--r--template/nginx/common/proxy-common7
3 files changed, 0 insertions, 13 deletions
diff --git a/template/nginx/common/acme-challenge b/template/nginx/common/acme-challenge
deleted file mode 100644
index 26054b8..0000000
--- a/template/nginx/common/acme-challenge
+++ /dev/null
@@ -1,3 +0,0 @@
-location /.well-known/acme-challenge {
- root /srv/acme;
-}
diff --git a/template/nginx/common/https-redirect b/template/nginx/common/https-redirect
deleted file mode 100644
index 56d095d..0000000
--- a/template/nginx/common/https-redirect
+++ /dev/null
@@ -1,3 +0,0 @@
-location / {
- return 301 https://$host$request_uri;
-}
diff --git a/template/nginx/common/proxy-common b/template/nginx/common/proxy-common
deleted file mode 100644
index 4193548..0000000
--- a/template/nginx/common/proxy-common
+++ /dev/null
@@ -1,7 +0,0 @@
-proxy_http_version 1.1;
-proxy_set_header Upgrade $http_upgrade;
-proxy_set_header Connection $connection_upgrade;
-proxy_set_header Host $host;
-proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-proxy_set_header X-Forwarded-Proto $scheme;
-proxy_set_header X-Real-IP $remote_addr;