fix: Update nginx config to use dynamic DNS resolution

- Replace upstream blocks with resolver directive
- Use variables for backend addresses to avoid startup errors
- Simplify configuration with single server block
- Add health check endpoint
This commit is contained in:
2026-04-20 15:20:02 +05:00
parent e436aca25b
commit 9fce574c50
5959 changed files with 551104 additions and 49 deletions
+1
View File
@@ -0,0 +1 @@
module.exports={C:{"4":0.01029,"5":0.00514,"52":0.00514,"115":0.04115,"128":0.00514,"140":0.04115,"143":0.00514,"144":0.00514,"146":0.00514,"147":0.08745,"148":1.05966,"149":0.19547,_:"2 3 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 127 129 130 131 132 133 134 135 136 137 138 139 141 142 145 150 151 152 3.5 3.6"},D:{"65":0.00514,"76":0.00514,"79":0.00514,"80":0.00514,"91":0.01029,"93":0.00514,"101":0.00514,"103":0.11831,"104":0.05144,"105":0.05658,"106":0.05658,"107":0.05144,"108":0.05144,"109":0.2572,"110":0.05144,"111":0.05144,"112":0.23148,"113":0.06173,"116":0.12346,"117":0.05144,"119":0.01543,"120":0.05144,"122":0.01543,"123":0.00514,"124":0.06173,"125":0.00514,"126":0.01543,"127":0.00514,"128":0.04115,"129":0.00514,"130":0.03086,"131":0.13889,"132":0.02572,"133":0.11317,"134":0.01543,"135":0.07202,"136":0.01029,"137":0.01029,"138":0.19547,"139":0.26234,"140":0.03601,"141":0.01543,"142":0.07202,"143":4.77363,"144":5.98247,"145":7.81888,"146":6.11622,"147":0.0463,"148":0.00514,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 77 78 81 83 84 85 86 87 88 89 90 92 94 95 96 97 98 99 100 102 114 115 118 121 149 150"},F:{"73":0.01029,"95":0.01543,"96":0.07202,"117":0.01029,"125":0.00514,"126":0.01029,"127":0.63786,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 118 119 120 121 122 123 124 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00514,"92":0.01029,"109":0.03086,"114":0.00514,"118":0.00514,"120":0.00514,"122":0.02572,"125":0.00514,"130":0.02058,"131":0.01029,"132":0.00514,"133":0.01029,"134":0.00514,"135":0.00514,"136":0.00514,"137":0.01029,"138":0.00514,"139":0.01543,"140":0.01029,"141":0.02058,"142":0.02572,"143":0.15432,"144":0.15946,"145":3.92487,"146":3.79627,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 119 121 123 124 126 127 128 129"},E:{"14":0.01029,_:"4 5 6 7 8 9 10 11 12 13 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 15.2-15.3 26.5 TP","13.1":0.00514,"14.1":0.01029,"15.1":0.00514,"15.4":0.00514,"15.5":0.00514,"15.6":0.06687,"16.0":0.00514,"16.1":0.01543,"16.2":0.00514,"16.3":0.01029,"16.4":0.00514,"16.5":0.00514,"16.6":0.13889,"17.0":0.01543,"17.1":0.0463,"17.2":0.03086,"17.3":0.01029,"17.4":0.11831,"17.5":0.04115,"17.6":0.14403,"18.0":0.01029,"18.1":0.03601,"18.2":0.02058,"18.3":0.05144,"18.4":0.03601,"18.5-18.7":0.12346,"26.0":0.10288,"26.1":0.05144,"26.2":0.42181,"26.3":2.28394,"26.4":0.09259},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00235,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0.0047,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0.01176,"11.0-11.2":0.29626,"11.3-11.4":0.00705,"12.0-12.1":0,"12.2-12.5":0.0917,"13.0-13.1":0,"13.2":0.03527,"13.3":0.0047,"13.4-13.7":0.01176,"14.0-14.4":0.02116,"14.5-14.8":0.02116,"15.0-15.1":0.03057,"15.2-15.3":0.01881,"15.4":0.02351,"15.5":0.02586,"15.6-15.8":0.41618,"16.0":0.04232,"16.1":0.08229,"16.2":0.04703,"16.3":0.08465,"16.4":0.01881,"16.5":0.03527,"16.6-16.7":0.57841,"17.0":0.02586,"17.1":0.04232,"17.2":0.03762,"17.3":0.05173,"17.4":0.08465,"17.5":0.15989,"17.6-17.7":0.41147,"18.0":0.08935,"18.1":0.1834,"18.2":0.0964,"18.3":0.30802,"18.4":0.14813,"18.5-18.7":4.71195,"26.0":0.29391,"26.1":0.44674,"26.2":2.62872,"26.3":11.42014,"26.4":0.42793,"26.5":0},P:{"4":0.07358,"22":0.01051,"23":0.01051,"25":0.02102,"26":0.01051,"27":0.01051,"28":0.07358,"29":2.52267,_:"20 21 24 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 18.0 19.0","16.0":0.01051,"17.0":0.01051},I:{"0":0.07764,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00004},K:{"0":0.19914,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},J:{_:"7 10"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},R:{_:"0"},M:{"0":0.29142},Q:{_:"14.9"},O:{"0":0.00971},H:{all:0},L:{"0":28.27811}};