mirror of
https://github.com/xVRVx/autoXRAY.git
synced 2026-08-29 01:55:34 +00:00
Add files via upload
This commit is contained in:
@@ -47,7 +47,7 @@ echo "✅ Записываем конфигурацию в $CONFIG_PATH для
|
||||
|
||||
sudo bash -c "cat > $CONFIG_PATH" <<EOF
|
||||
server {
|
||||
listen 3333 ssl http2;
|
||||
listen 3333 ssl http2 proxy_protocol;
|
||||
server_name $DOMAIN;
|
||||
|
||||
##Отключить чтобы получить заглушку nginx!
|
||||
@@ -59,6 +59,9 @@ server {
|
||||
ssl_certificate_key /etc/letsencrypt/live/$DOMAIN/privkey.pem;
|
||||
|
||||
ssl_session_tickets off;
|
||||
|
||||
real_ip_header proxy_protocol;
|
||||
set_real_ip_from 127.0.0.1;
|
||||
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
@@ -242,7 +245,7 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
"realitySettings": {
|
||||
"show": false,
|
||||
"target": "3333",
|
||||
"xver": 0,
|
||||
"xver": 1,
|
||||
"SpiderX": "/",
|
||||
"serverNames": [
|
||||
"$DOMAIN"
|
||||
|
||||
Reference in New Issue
Block a user