[GH-ISSUE #3740] How to initialize my own config.json via sh install ? #2520

Closed
opened 2026-10-31 20:26:05 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Efcolipt on GitHub (Feb 3, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3740

Question

I wanna set up one-line sh code for installing 3x-ui with pre defined inbounds, routings, settings rules

For inbounds i have available api, but for routings, settings rules i cant set it

So what ways i have for initialize my custom config.json and just rewrite your base json.config while service enabling

I can take all your needs and put in my config.json for properly working and just add my own rules

Code: https://github.com/Efcolipt/bash-vless-reality-cloud-warp-xray/blob/main/vless-reality-cloud-warp-with-3x-ui.sh

Checklist

  • This question is written entirely in English.
Originally created by @Efcolipt on GitHub (Feb 3, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3740 ### Question I wanna set up one-line sh code for installing 3x-ui with pre defined inbounds, routings, settings rules For inbounds i have available api, but for routings, settings rules i cant set it So what ways i have for initialize my custom config.json and just rewrite your base json.config while service enabling I can take all your needs and put in my config.json for properly working and just add my own rules Code: https://github.com/Efcolipt/bash-vless-reality-cloud-warp-xray/blob/main/vless-reality-cloud-warp-with-3x-ui.sh ### Checklist - [x] This question is written entirely in English.
bsakaguchi 2026-10-31 20:26:05 +07:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@Efcolipt commented on GitHub (Feb 3, 2026):

Found answer github.com/Efcolipt/bash-vless-reality-cloud-warp-xray@99a97ba6ff (diff-6405a4e89f)

<!-- gh-comment-id:3841070450 --> @Efcolipt commented on GitHub (Feb 3, 2026): Found answer https://github.com/Efcolipt/bash-vless-reality-cloud-warp-xray/commit/99a97ba6ff1b94d12bc2407aa01332f4c0496a57#diff-6405a4e89fa0b7a995f7068f92e9144a8f81b04f59a56ce22fc508894b3b5391L120-R177
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#2520
No description provided.