aboutsummaryrefslogtreecommitdiff
path: root/templates/nginx/root.conf.template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-11-11 01:12:29 +0800
committerYuqian Yang <crupest@crupest.life>2025-01-20 23:24:41 +0800
commita293e50247ff6e61cd730b6ef02c287d9264f17b (patch)
tree0e5241878de3fc7cd36e4e5bcd2eac3ae1b063f6 /templates/nginx/root.conf.template
parentf81f0a9a586574aeeeca395d345ff9780c6fde68 (diff)
downloadcrupest-a293e50247ff6e61cd730b6ef02c287d9264f17b.tar.gz
crupest-a293e50247ff6e61cd730b6ef02c287d9264f17b.tar.bz2
crupest-a293e50247ff6e61cd730b6ef02c287d9264f17b.zip
HALF WORK: 2024.1.20 - 4
Diffstat (limited to 'templates/nginx/root.conf.template')
-rw-r--r--templates/nginx/root.conf.template28
1 files changed, 0 insertions, 28 deletions
diff --git a/templates/nginx/root.conf.template b/templates/nginx/root.conf.template
deleted file mode 100644
index 3f20cf1..0000000
--- a/templates/nginx/root.conf.template
+++ /dev/null
@@ -1,28 +0,0 @@
-server {
- listen 443 ssl http2;
- listen [::]:443 ssl http2;
- server_name ${CRUPEST_DOMAIN};
-
- location / {
- root /srv/www;
- }
-
- location /_$CRUPEST_V2RAY_PATH {
- if ($http_upgrade != "websocket") {
- return 404;
- }
-
- proxy_redirect off;
- include common/proxy-common;
- proxy_pass http://v2ray:10000;
- }
-}
-
-server {
- listen 80;
- listen [::]:80;
- server_name ${CRUPEST_DOMAIN};
-
- include common/https-redirect;
- include common/acme-challenge;
-}