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:{"5":0.00205,"115":0.07983,"127":0.00205,"140":0.03889,"144":0.00205,"145":0.00205,"146":0.00819,"147":0.02047,"148":0.17604,"149":0.04094,_:"2 3 4 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 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 128 129 130 131 132 133 134 135 136 137 138 139 141 142 143 150 151 152 3.5 3.6"},D:{"50":0.00205,"54":0.00205,"56":0.01228,"58":0.00614,"66":0.00409,"68":0.00205,"69":0.00205,"70":0.00205,"72":0.00819,"75":0.00409,"77":0.00614,"79":0.00205,"81":0.00614,"83":0.00819,"86":0.00409,"87":0.00614,"90":0.00205,"91":0.00205,"92":0.00205,"93":0.00409,"95":0.00205,"98":0.03889,"99":0.00205,"101":0.00205,"103":0.00409,"105":0.01228,"106":0.00205,"108":0.00205,"109":0.15353,"110":0.00819,"111":0.00409,"113":0.00614,"114":0.00614,"116":0.00409,"118":0.00205,"119":0.01228,"120":0.00205,"122":0.00205,"123":0.00409,"124":0.00205,"125":0.00614,"126":0.00409,"127":0.00205,"128":0.00819,"130":0.01228,"131":0.01842,"133":0.00409,"134":0.01024,"135":0.05322,"136":0.0348,"137":0.00614,"138":0.04913,"139":0.07165,"140":0.00409,"141":0.00409,"142":0.01228,"143":0.06755,"144":0.17604,"145":2.01425,"146":1.43085,_:"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 51 52 53 55 57 59 60 61 62 63 64 65 67 71 73 74 76 78 80 84 85 88 89 94 96 97 100 102 104 107 112 115 117 121 129 132 147 148 149 150"},F:{"46":0.00205,"92":0.00409,"95":0.01228,"96":0.01024,"110":0.01024,"123":0.00205,"126":0.00819,"127":0.12282,_:"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 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 87 88 89 90 91 93 94 97 98 99 100 101 102 103 104 105 106 107 108 109 111 112 113 114 115 116 117 118 119 120 121 122 124 125 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00205,"17":0.00205,"18":0.00205,"84":0.00409,"92":0.01024,"109":0.00205,"114":0.01024,"122":0.00205,"123":0.00205,"128":0.00205,"129":0.01024,"133":0.00409,"138":0.00409,"140":0.01228,"141":0.00819,"142":0.00409,"143":0.00819,"144":0.01638,"145":0.44625,"146":0.42987,_:"12 13 15 16 79 80 81 83 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 118 119 120 121 124 125 126 127 130 131 132 134 135 136 137 139"},E:{_:"4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.2-15.3 15.4 15.5 16.2 16.3 16.4 17.0 17.2 17.3 17.4 18.1 18.4 26.5 TP","5.1":0.00819,"15.1":0.00409,"15.6":0.01024,"16.0":0.00409,"16.1":0.00205,"16.5":0.00205,"16.6":0.02866,"17.1":0.01024,"17.5":0.00205,"17.6":0.01024,"18.0":0.00614,"18.2":0.00205,"18.3":0.00409,"18.5-18.7":0.01638,"26.0":0.03889,"26.1":0.01024,"26.2":0.03071,"26.3":0.10235,"26.4":0.00205},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00203,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0.00407,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0.01016,"11.0-11.2":0.25613,"11.3-11.4":0.0061,"12.0-12.1":0,"12.2-12.5":0.07928,"13.0-13.1":0,"13.2":0.03049,"13.3":0.00407,"13.4-13.7":0.01016,"14.0-14.4":0.0183,"14.5-14.8":0.0183,"15.0-15.1":0.02643,"15.2-15.3":0.01626,"15.4":0.02033,"15.5":0.02236,"15.6-15.8":0.3598,"16.0":0.03659,"16.1":0.07115,"16.2":0.04066,"16.3":0.07318,"16.4":0.01626,"16.5":0.03049,"16.6-16.7":0.50007,"17.0":0.02236,"17.1":0.03659,"17.2":0.03252,"17.3":0.04472,"17.4":0.07318,"17.5":0.13823,"17.6-17.7":0.35574,"18.0":0.07725,"18.1":0.15856,"18.2":0.08334,"18.3":0.2663,"18.4":0.12807,"18.5-18.7":4.0737,"26.0":0.2541,"26.1":0.38623,"26.2":2.27266,"26.3":9.87325,"26.4":0.36997,"26.5":0},P:{"20":0.03041,"21":0.03041,"22":0.08111,"23":0.04055,"24":0.49677,"25":0.24332,"26":0.31428,"27":0.49677,"28":0.83133,"29":3.11242,_:"4 5.0-5.4 6.2-6.4 8.2 9.2 10.1 12.0 14.0 17.0","7.2-7.4":0.48663,"11.1-11.2":0.02028,"13.0":0.01014,"15.0":0.01014,"16.0":0.01014,"18.0":0.03041,"19.0":0.10138},I:{"0":0.00795,"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},K:{"0":0.89074,_:"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.17497},Q:{"14.9":0.00795},O:{"0":0.29426},H:{all:0},L:{"0":65.10558}};