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:{"60":0.01312,"78":0.01312,"91":0.00437,"114":0.00875,"115":0.1006,"120":0.00437,"121":0.05249,"125":0.00437,"127":0.00437,"128":0.04374,"133":0.00875,"134":0.00437,"135":0.00437,"136":0.00875,"137":0.00437,"140":0.66047,"143":0.00437,"144":0.09623,"147":0.03062,"148":0.51613,"149":0.08311,_:"2 3 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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 116 117 118 119 122 123 124 126 129 130 131 132 138 139 141 142 145 146 150 151 152 3.5 3.6"},D:{"39":0.00437,"40":0.00437,"41":0.00437,"42":0.00437,"43":0.00437,"44":0.00437,"45":0.00437,"46":0.00437,"47":0.00875,"48":0.00875,"49":0.00437,"50":0.00437,"51":0.00437,"52":0.00437,"53":0.00875,"54":0.00437,"55":0.00875,"56":0.00437,"57":0.00437,"58":0.00875,"59":0.00437,"60":0.00875,"69":0.00437,"78":0.00875,"79":0.00437,"83":0.00875,"86":0.05686,"87":0.01312,"90":0.00437,"92":0.02187,"95":0.0175,"96":0.00437,"97":0.00437,"98":0.00437,"100":0.02624,"101":0.05249,"103":0.00875,"104":0.01312,"106":0.00437,"107":0.08311,"109":0.22745,"110":0.00437,"111":0.01312,"112":0.0175,"113":0.00437,"114":0.04374,"115":0.00437,"116":0.42865,"117":0.00875,"118":0.02624,"119":0.04811,"120":0.39803,"121":0.1006,"122":0.03937,"123":0.0175,"124":0.1006,"125":0.14872,"126":0.07436,"127":0.05249,"128":0.07873,"129":0.15309,"130":0.25369,"131":0.06124,"132":0.07873,"133":1.83708,"134":0.29743,"135":0.12247,"136":0.04374,"137":0.22307,"138":0.31493,"139":0.30181,"140":0.17933,"141":0.16184,"142":0.56862,"143":0.31055,"144":0.58612,"145":7.12962,"146":5.87428,"147":0.03499,"148":0.02187,_:"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 61 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 80 81 84 85 88 89 91 93 94 99 102 105 108 149 150"},F:{"87":0.00437,"89":0.00437,"95":0.05249,"96":0.04811,"105":0.00437,"114":0.0175,"119":0.00437,"126":0.00437,"127":0.1181,_:"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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 88 90 91 92 93 94 97 98 99 100 101 102 103 104 106 107 108 109 110 111 112 113 115 116 117 118 120 121 122 123 124 125 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.01312,"92":0.00875,"106":0.0175,"108":0.00437,"109":0.00875,"113":0.02624,"114":0.00875,"117":0.00437,"119":0.00875,"120":0.03499,"122":0.03499,"124":0.00437,"126":0.01312,"127":0.00875,"128":0.03062,"129":0.0175,"130":0.00875,"131":0.0175,"132":0.02624,"133":0.04374,"134":0.06561,"135":0.03937,"136":0.02187,"137":0.04811,"138":0.05686,"139":0.05686,"140":0.01312,"141":0.08748,"142":0.06998,"143":0.15309,"144":0.5555,"145":2.75562,"146":2.10827,_:"13 14 15 16 17 18 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 107 110 111 112 115 116 118 121 123 125"},E:{_:"4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 10.1 11.1 12.1 15.2-15.3 15.4 16.0 18.0 26.5 TP","9.1":0.00437,"13.1":0.00437,"14.1":0.00875,"15.1":0.00437,"15.5":0.00437,"15.6":0.03937,"16.1":0.0175,"16.2":0.00437,"16.3":0.00437,"16.4":0.01312,"16.5":0.00875,"16.6":0.03062,"17.0":0.01312,"17.1":0.03937,"17.2":0.0175,"17.3":0.00437,"17.4":0.02187,"17.5":0.01312,"17.6":0.02187,"18.1":0.01312,"18.2":0.00437,"18.3":0.0175,"18.4":0.02624,"18.5-18.7":0.03499,"26.0":0.00437,"26.1":0.11372,"26.2":0.1181,"26.3":0.83981,"26.4":0.03937},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00116,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0.00232,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0.0058,"11.0-11.2":0.14614,"11.3-11.4":0.00348,"12.0-12.1":0,"12.2-12.5":0.04524,"13.0-13.1":0,"13.2":0.0174,"13.3":0.00232,"13.4-13.7":0.0058,"14.0-14.4":0.01044,"14.5-14.8":0.01044,"15.0-15.1":0.01508,"15.2-15.3":0.00928,"15.4":0.0116,"15.5":0.01276,"15.6-15.8":0.2053,"16.0":0.02088,"16.1":0.0406,"16.2":0.0232,"16.3":0.04176,"16.4":0.00928,"16.5":0.0174,"16.6-16.7":0.28533,"17.0":0.01276,"17.1":0.02088,"17.2":0.01856,"17.3":0.02552,"17.4":0.04176,"17.5":0.07887,"17.6-17.7":0.20298,"18.0":0.04408,"18.1":0.09047,"18.2":0.04755,"18.3":0.15194,"18.4":0.07307,"18.5-18.7":2.32439,"26.0":0.14498,"26.1":0.22038,"26.2":1.29674,"26.3":5.63351,"26.4":0.2111,"26.5":0},P:{"28":0.05169,"29":1.85047,_:"4 20 21 22 23 24 25 26 27 5.0-5.4 6.2-6.4 7.2-7.4 8.2 9.2 10.1 11.1-11.2 12.0 14.0 15.0 16.0 17.0 18.0 19.0","13.0":0.01034},I:{"0":0.02248,"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.00001},K:{"0":0.63563,_:"10 11 12 11.1 11.5 12.1"},A:{"8":0.30837,"9":0.10279,"11":0.20558,_:"6 7 10 5.5"},J:{_:"7 10"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},R:{_:"0"},M:{"0":0.97313},Q:{"14.9":0.29813},O:{"0":0.93375},H:{all:0},L:{"0":47.70198}};