diff options
author | crupest <crupest@outlook.com> | 2024-11-11 01:12:29 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2024-12-22 17:45:13 +0800 |
commit | ce79647caae24e77fb2e978541a30dca29026b8a (patch) | |
tree | 4197980a04943b42941d3fce7cb16d1f7ea400bd /template/nginx/root.conf.template | |
parent | d4cc5937df9f45391c4f980d3978b91740bfecc0 (diff) | |
download | crupest-ce79647caae24e77fb2e978541a30dca29026b8a.tar.gz crupest-ce79647caae24e77fb2e978541a30dca29026b8a.tar.bz2 crupest-ce79647caae24e77fb2e978541a30dca29026b8a.zip |
HALF WORK: 2024.12.22
code.
Diffstat (limited to 'template/nginx/root.conf.template')
-rw-r--r-- | template/nginx/root.conf.template | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/template/nginx/root.conf.template b/template/nginx/root.conf.template deleted file mode 100644 index 3f20cf1..0000000 --- a/template/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; -} |