From nginx-forum на forum.nginx.org Mon Jan 1 04:34:48 2018 From: nginx-forum на forum.nginx.org (gz) Date: Sun, 31 Dec 2017 23:34:48 -0500 Subject: =?UTF-8?B?0J3QsNGB0LvQtdC00L7QstCw0L3QuNC1INC00LjRgNC10LrRgtC40LIg0YPRgdGC?= =?UTF-8?B?0LDQvdC+0LLQutC4INC30LDQs9C+0LvQvtCy0LrQvtCy?= Message-ID: Знатоки, поясните пожалуйста, с какой целью в nginx сделано так, что add_header и proxy_set_header «наследуются с предыдущего уровня при условии, что на данном уровне не описаны свои директивы»? Это же ужасно неудобно — хочется задать ряд общих заголовков на уровне http/server, а в location'ах добавлять отдельные заголовки. Стоит прозевать и установить единственный заголовок в location'е — отваливаются все вышеустановленные. Наверное, у такого решения есть большие преимущества, но прояснить их для себя не могу. Posted at Nginx Forum: https://forum.nginx.org/read.php?21,277956,277956#msg-277956 From vbart на nginx.com Mon Jan 1 12:35:03 2018 From: vbart на nginx.com (=?utf-8?B?0JLQsNC70LXQvdGC0LjQvSDQkdCw0YDRgtC10L3QtdCy?=) Date: Mon, 01 Jan 2018 15:35:03 +0300 Subject: =?UTF-8?B?UmU6INCd0LDRgdC70LXQtNC+0LLQsNC90LjQtSDQtNC40YDQtdC60YLQuNCyINGD?= =?UTF-8?B?0YHRgtCw0L3QvtCy0LrQuCDQt9Cw0LPQvtC70L7QstC60L7Qsg==?= In-Reply-To: References: Message-ID: <378704607.1Qqsx48AAV@vbart-laptop> On Monday, 1 January 2018 07:34:48 MSK gz wrote: > Знатоки, поясните пожалуйста, с какой целью в nginx сделано так, что > add_header и proxy_set_header «наследуются с предыдущего уровня при условии, > что на данном уровне не описаны свои директивы»? > > Это же ужасно неудобно — хочется задать ряд общих заголовков на уровне > http/server, а в location'ах добавлять отдельные заголовки. > Стоит прозевать и установить единственный заголовок в location'е — > отваливаются все вышеустановленные. > > Наверное, у такого решения есть большие преимущества, но прояснить их для > себя не могу. > 1. Это не отличается от всех остальных директив в nginx, т.е. это единое правило, делающее конфигурацию единообразной. При этом, если раньше какую-то директиву можно было задать только один раз, а позже стало возможным описывать несколько таких директив, то существующие конфигурации от этого не ломаются, ибо правило наследования, что у одной директивы, что у нескольких - одниковое. 2. А про остальное рассказывает Игорь: https://www.youtube.com/watch?v=fcG-7k20oG8 Если кратко, это делает конфигурацию однозначной. Работает ровно то, что видите в конкретном блоке. Вам не нужно просматривая все уровни вложенности и в уме суммировать списки директив. -- Валентин Бартенев From nginx-forum на forum.nginx.org Tue Jan 2 13:57:13 2018 From: nginx-forum на forum.nginx.org (Dmytro Lavryk) Date: Tue, 02 Jan 2018 08:57:13 -0500 Subject: =?UTF-8?B?UmU6IE5HSU5YINC/0YDQvtGB0YLQviDQvdC1INC/0YDQuNC90LjQvNCw0LXRgiA=?= =?UTF-8?B?0LrQsNC60L7QuS3RgtC+INC/0YDQvtGG0LXQvdGCINC60L7QvdC90LXQutGC?= =?UTF-8?B?0L7Qsg==?= In-Reply-To: References: <20171227103942.xvpftccalftukycx@cio.protva.ru> Message-ID: <14820bd0c534db9001730355df578cd6.NginxMailingListRussian@forum.nginx.org> Прямо мистика какая-то... Отложил решение на потом. Но в новогоднюю ночь все само собой заработало нормально с тех пор ни разу не сбойнуло. Posted at Nginx Forum: https://forum.nginx.org/read.php?21,277903,277964#msg-277964 From nginx-forum на forum.nginx.org Tue Jan 2 16:42:54 2018 From: nginx-forum на forum.nginx.org (gz) Date: Tue, 02 Jan 2018 11:42:54 -0500 Subject: =?UTF-8?B?UmU6INCd0LDRgdC70LXQtNC+0LLQsNC90LjQtSDQtNC40YDQtdC60YLQuNCyINGD?= =?UTF-8?B?0YHRgtCw0L3QvtCy0LrQuCDQt9Cw0LPQvtC70L7QstC60L7Qsg==?= In-Reply-To: <378704607.1Qqsx48AAV@vbart-laptop> References: <378704607.1Qqsx48AAV@vbart-laptop> Message-ID: <2d27691176b7e0f9dac85e01a3074dab.NginxMailingListRussian@forum.nginx.org> Ясно, решение политическое. Благодарю за пояснение. > Вам не нужно просматривая все уровни вложенности и в уме суммировать списки директив. Эта необходимость, кстати, никуда не девается. И если при обычном наследовании достаточно просмотреть 2-3 уровня (вложенные location'ы в расчёт не берём) и сложить, то при текущем выборочном — нужно просматривать те же уровни, только для того, чтобы проверить не указаны ли там уже директивы и, если это так, скопировать их. Posted at Nginx Forum: https://forum.nginx.org/read.php?21,277956,277967#msg-277967 From annulen на yandex.ru Tue Jan 2 17:23:31 2018 From: annulen на yandex.ru (Konstantin Tokarev) Date: Tue, 02 Jan 2018 20:23:31 +0300 Subject: =?UTF-8?B?UmU6INCd0LDRgdC70LXQtNC+0LLQsNC90LjQtSDQtNC40YDQtdC60YLQuNCyINGD?= =?UTF-8?B?0YHRgtCw0L3QvtCy0LrQuCDQt9Cw0LPQvtC70L7QstC60L7Qsg==?= In-Reply-To: <2d27691176b7e0f9dac85e01a3074dab.NginxMailingListRussian@forum.nginx.org> References: <378704607.1Qqsx48AAV@vbart-laptop> <2d27691176b7e0f9dac85e01a3074dab.NginxMailingListRussian@forum.nginx.org> Message-ID: <315571514913811@web55o.yandex.ru> 02.01.2018, 19:43, "gz" : > Ясно, решение политическое. > Благодарю за пояснение. > >>  Вам не нужно просматривая все уровни вложенности и в уме суммировать > > списки директив. > > Эта необходимость, кстати, никуда не девается. > И если при обычном наследовании достаточно просмотреть 2-3 уровня (вложенные > location'ы в расчёт не берём) и сложить, то при текущем выборочном — нужно > просматривать те же уровни, только для того, чтобы проверить не указаны ли > там уже директивы и, если это так, скопировать их. Вместо копирования надо использовать include > > Posted at Nginx Forum: https://forum.nginx.org/read.php?21,277956,277967#msg-277967 > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru -- Regards, Konstantin From nginx-forum на forum.nginx.org Wed Jan 3 04:35:12 2018 From: nginx-forum на forum.nginx.org (gz) Date: Tue, 02 Jan 2018 23:35:12 -0500 Subject: =?UTF-8?B?UmU6INCd0LDRgdC70LXQtNC+0LLQsNC90LjQtSDQtNC40YDQtdC60YLQuNCyINGD?= =?UTF-8?B?0YHRgtCw0L3QvtCy0LrQuCDQt9Cw0LPQvtC70L7QstC60L7Qsg==?= In-Reply-To: <315571514913811@web55o.yandex.ru> References: <315571514913811@web55o.yandex.ru> Message-ID: <19d865e3c7713ca6bdc3e803cba69860.NginxMailingListRussian@forum.nginx.org> > Вместо копирования надо использовать include Для 3-5 общих и пары заголовков уровнем ниже, include — это перебор. Posted at Nginx Forum: https://forum.nginx.org/read.php?21,277956,277971#msg-277971 From gmm на csdoc.com Wed Jan 3 17:09:12 2018 From: gmm на csdoc.com (Gena Makhomed) Date: Wed, 3 Jan 2018 19:09:12 +0200 Subject: [error] access forbidden by rule Message-ID: <3eb98194-a875-290c-ea37-8435a4772044@csdoc.com> Здравствуйте, All! С Новым Годом! В конфиге: server { server_name debug.example.com; allow 11.11.11.11; deny all; } В access.log есть запись о том, что клиенту 22.22.22.22 на его запрос к серверу debug.example.com был возвращен 403 статус. Но в error.log nginx еще зачем-то полным-полно строчек такого вида: ... [error] ... access forbidden by rule, client: 22.22.22.22 То что доступ запрещен всем, кроме 11.11.11.11 - это правильно, но почему nginx считает это поведение ошибкой и пишет об этом в логи? Какие действия мне следует предпринять, чтобы в error.log не было сообщений о таких "ошибках"? Может быть имеет смысл в nginx понизить приоритет сообщений "access forbidden by rule" до debug или хотя бы до info? Для limit_conn есть директива limit_conn_log_level, для limit_req есть директива limit_req_log_level, а вот для директивы deny ничего такого нет. Или может быть имеет смысл сделать директиву deny_log_level со значением по умолчанию error, для обратной совместимости? -- Best regards, Gena From nginx-forum на forum.nginx.org Thu Jan 4 01:51:09 2018 From: nginx-forum на forum.nginx.org (drmckhl0) Date: Wed, 03 Jan 2018 20:51:09 -0500 Subject: cheap copper evaporation materials Message-ID: <95c118878bab78c297040fd9bb184dd9.NginxMailingListRussian@forum.nginx.org> Our History Henan Guoxi Ultra-pure New Materials Co., Ltd was established in June of 2012 by several experts who are studying Material Science Major from School of Material Science and Engineering (SMCE) at Central South University, which covers an area of 110,000 square meters, its registered capital is 12,000,000.00usd. The industrialization project of our ultra-pure metal materials is located in the chain front of advanced manufacturing and high-tech industry.We research and develop independently new generation of 5N and 6N (purity ≥ 99.9999%) ultra-pure zinc, copper and other ultra-high purity metal materials technology in scale production,our products have been applied to the field of advanced manufacturing,military sector, semiconductor,and so on. Our Factory Henan Guoxi Ultra-pure New Materials Co., Ltd. is a high-tech enterprises which is committed to researech and develop high-quality super pure metal materials in large-scale production. Guoxi has established an innovative and complete producing, researching and selling system, which is oriented by the marketing development, based on the research resource of university and guided by the direction of industry. Our main products cover most of metal thin film materials such as metal sputtering targets, metal alloy sputtering targets, arc cathodes, high purity evaporation materials and backing plates, together with metal crucible liners. Now, our products have already been exported to Korea, Japan, America, Europe and Middle East, and it’s good quality, competitive price, timely delivery and best after-sales service are highly appreciated by our customers. Our Product: Guoxi Products includes the following: 1, High purity copper 2, High purity Zinc 3, High purity aluminum 4, Alumina ceramic powder As a high technology company integrating production, teaching and research, Guoxi Ultra-Pure is engaged in producing and selling the most suitable and high quality 6N(purity≥99.9999%)zinc,copper,nickel,and other ultra-pure metal material. Product Application High-pure cathode copper is used in plasma deposition (sputtering) processes, including the manufacture of semiconductors and superconductor components, as well as in high vacuum devices such as particle accelerators. In any of these applications, the release of oxygen (and/or other impurities) can cause undesirable chemical reactions with other materials in the local environment. --Welding Torch Tips --Switch Gears --Bolts --Studs --Soldering Copper --Relay Parts --Electrical Switches on Power --Semiconductors --Fasteners --Transformers --Circuit Breaker Terminals --Electrical Connectors --Transistor Bases --Gas Cutting Nozzles --Motor Parts --Switch Parts --Soldering Tips --Furnace Brazed Parts --Screw Machine Products --Forgings --Plumbing Fittings --Sprinkler Heads --Fixtures --electronic chemical materials --special alloy material --Polyurethane scooter wheels and skate wheels, which from our second production line, are widely used for children playing scooters and skate shoes. Our Certificate Our Company have manufactured the batch productionof 6N high purity copper and zinc at present , now our products have been applied in high-class manufacturing fields and national defense department and get good Economic benefit and social benefit.< Henan Guoxi Ultrapure New Materials Project Technology Research Center> was built under every government department support,we will improve mechanism of innovation better and better.We achieved two scientific research international advanced achievements: 《Large-scale producing 6N high purity zinc project technology》and《Large-scale producing 6N high purity copper project technology》, eight utility model of patents and two invention patents in 2015.Our company have the honor to be selected to 《military industrial products recommended catalog》,we also actively promote civil-military integration depth. Our company own province-class ultra purity metal research centre,we get core technology of more than ten independent intellectual property rights and self-management import and export rights by researching and developing ourselves.We pass SGS and ISO quality system certificate ,also biography 《Recommended Tissue List of Military Products》. Production Market Now our 99.9999% high purity copper has been exported to America and Russia,6N copper pellets is sold to Canada and Korea,high purity copper ingot is now also in Japan market for bonding wires. We are striving to seeking for higher overseas market ,also want to expand our market to other country. Our service 1.before sales,we are strict to adhere ISO quality management system; 2.in sales,we check every batch of products for better packages; 3.after sales,we have professional steam tto serve for you everyday.cheap copper evaporation materials website:http://www.6nmetal.com/ website2:http://www.6ncu.com/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,277983,277983#msg-277983 From nginx-forum на forum.nginx.org Thu Jan 4 01:56:03 2018 From: nginx-forum на forum.nginx.org (drmckhl0) Date: Wed, 03 Jan 2018 20:56:03 -0500 Subject: ASTM Gr1 Gr2 titanium wires electrolysis industry Message-ID: <4ce820fc8578a68de6799a892f394484.NginxMailingListRussian@forum.nginx.org> Bao Ji AATI New Metal CO.,LTD. (AATI) is a high –technology enterprise which is specialized in the production, research and development of nonferrous metal such as Ti, Zr, Ni, Cu etc. The company was established in 2007, which has become an export-oriented enterprise with yield of more than 600 tons a year. Our Certificate AATI had owned the autonomous authority of export management that approved by government, and had qualified for certification of ISO9001, ISO2000 quality management. And AATI has also been granted ISO14001-2004 Environmental Management System Certification. The products of cladding copper with titanium have a number of national invention patents, possessed independent intellectual property rights, gained the high reputation at home and abroad in PCB and electroplating equipment industry. AATI has been listed the first batch of encouraged development industry by National Development and Reform Committee and had gained preferential treatment of duties. Our Product We have three kinds of main products. (1) cladding copper with titanium as the major products, including cladding Cu with titanium, zirconium, stainless-steel, nickel, and Niobium and cladding Al with titanium, and stainless-steel, and cladding copper tube with titanium and cladding stainless-steel tube with copper and also cladding stainless-steel with copper and titanium for three layer compound. (2) Series of standard titanium, zirconium and nickel products such as Ti tubes, bars, wires, plates and fasteners, etc. (3) Series of special titanium and zirconium products such as Ti baskets, Zr baskets, Ti tabs, Ti gussets, Ti hook support straps, Ti heating coils tubes, stainless-steel heating coil, etc. Production Market As relying on the universities and industries in Xi’AN, AATI has rich qualified scientists and technicians, advanced technology and equipments, complete quality assurance systems, and our products have been sold to Europe, America, Brazil, Peru, East Asia, South Africa, Taiwan, widely used for electron, plating, petrol-chemical and chemical industry, energy source projects, coking, papermaking, salt-making, ocean projects, wet metallurgy, surface treatment, pharmacy and medical treatment, electrode-making, coating film etc., which produced a lot of economic and social benefit. ASTM Gr1 Gr2 titanium wires electrolysis industry website:http://www.aatiticladcu.com/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,277984,277984#msg-277984 From nginx-forum на forum.nginx.org Thu Jan 4 01:57:43 2018 From: nginx-forum на forum.nginx.org (drmckhl0) Date: Wed, 03 Jan 2018 20:57:43 -0500 Subject: wholesale Baby Carriers For Men Message-ID: <6a7cc24b6622cf73f1c117ba6e2405b2.NginxMailingListRussian@forum.nginx.org> Our History Located in Xiamen, Fujian Province. We specilized in producing mother and baby products more then 10years. Quality is our culture,We are sure that our high quality products and excellent services will attract more and more customers' appreciation. Our Factory There are more than one hundred employees in our company. We made the baby carrier ,diaper bag with the most eco-friendly and the most innovative materials. Our Product Diaper bag ,baby carrier, changing mat and other baby accessories ect. Product Application Baby carrier for 0-3 years baby ,diaper bag for and Mom and Dad. Our Certificate Our factory are well managed to reach ISO9001 standards .Also we applied social audit such as BSCI, SEDEX, SGS. For our products, we have passed the certification of EN-71,CE ect. Production Equipment Cutting Machine,Flat Sewing Machine ,High Head Sewing Machine,Pattern Sewing Machine ect. Production Market Our products have good reputation in Europe, America ,UK, Canada and etc. Our Service OEM &ODM are welcomed,Quality-Oriented,Customer -Orientedwholesale Baby Carriers For Men website:http://www.ababyproduct.com/ website2:http://www.babesproduct.com/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,277985,277985#msg-277985 From nginx-forum на forum.nginx.org Thu Jan 4 01:58:36 2018 From: nginx-forum на forum.nginx.org (drmckhl0) Date: Wed, 03 Jan 2018 20:58:36 -0500 Subject: Custom Plastics Mill Message-ID: mold of automotives oem plastic part molding molds for tiles Abery mold is a responsible plastic injection molder who has specialized in mold manufacturing and molding more than 10 years. We have own factory and make molds and products by ourselves.Our Products/Services: Plastic Injection Mold Design, Plastic injection Mold Fabrication, Plastic Injection molding and In-Mold Decoration. Range: Plastic injection 3 shot mould tooling Cavity:Single Mold base: LKM Standard:DME Mold life:300,000 shots Cavity/core steel: 718H Color: transparent Runner: Hot Nozele: HASCO Part surface: Texture Plastic material: TPU Plastic shrinkage: 1.005% Inject material: Metal Inject material: Plastic Plastic weight: 28.5g Product size:125.6 X 38.7 X 23mm Lifter:NA Slider:NA Eject: Ejector pin Mold weight: 340KGS Mold size:330*390*320MM Gate type: Direct gate First sample lead time: Per discuss First sample lead time: Depend on the mold size Injection machine:120T to 2300T Packing: Export carton Packing: Plywood case Packing: vacuum-sealed bag + wooden box Shaping Mode: Plastic Injection Mould Brand name: Abery Business Type: Manufacture Place of origin: Shenzhen, China Quality system: ISO9001 Experience: More than 8 years export experience Service customer: SCHNEIDER , HONDA, MCLAREN, HARMONIZE etc Desig software: NX_UG, Pro/E, AutoCAD etc Quality system: ISO9001:2008 Plastic standard:CE,ROHS Usage: Industrial plastic parts Our Advantage Zero-Risk factory directly offer plastic injection moulding and plastic parts Moulding from concepts to reality Advanced product size measure machine( CMM ,Profile Projector etc) More than 8 years export experience Rich experience service to big company(RHP,SCHNEIDER,HONDA,MCLAREN etc). Quickly action within 24 hours Q1.What are our product ranges? Plastic injection mold design and making,plastic parts manufacturer Q2.Which kinds of certificate would you have? SGS ISO 9001:2008 Q3.How to ensure you build the correct mold for us? To avoid the misunderstanding ,We will offer DFM report ( Design for Mold, include the parting line,ejector pin location, plastic thickness,draft etc information) and mold structure for you to check the project detail before the mold building. Q4. What can we do if we want to do some modification? If the size is not within the tolerence according the drawing, we will modify the mold FREE. If you have new requirment after sampling, we will give you some modify method for choice for example A and B, A cost 200 USD, B cost 400 USD, but after we modified we find method A can't meet your requirement, we will modify the mold by method B in FREE. Q5.How to ensure plastic injection moulds deliver on time? we will send mold processing images every week,part dimension measure report, part samples and mold video for you to checkthe mold detail. Q6.Our guarantee on quality? We are committed 100% customersatisfaction.Firstly, Quality is priority. Abery looking for long term releationship, we always attaches imporatance to quality controlling from the very beginning to the very end. Q7.How to order with us? Send us inquiry--receive our quotation--negotiate order details--sign the contract--pay deposit--confirm the mold design--plastic injection mold building--mold testing--confirm molded plastic parts--balance payment of plastic injection mold--deposit for plastic parts mass production--cargo ready--balance/delivery--customers feedback and solutions—further cooperation. Q8.How to settle payment? T/T, L/C, West Union, Paypal normally. Our normal payment term is 50% as deposit and balance before delivery. Custom Plastics Mill website:http://www.aberymolds.com/plastic-enclosures/custom-plastics/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,277986,277986#msg-277986 From nginx-forum на forum.nginx.org Thu Jan 4 02:01:29 2018 From: nginx-forum на forum.nginx.org (drmckhl0) Date: Wed, 03 Jan 2018 21:01:29 -0500 Subject: buy discount PP Material Message-ID: <158e21646c19df11cacff45c641786e7.NginxMailingListRussian@forum.nginx.org> Yangzhou Chengsen Plastics Co.,Ltd. is located in Jiangsu province, China, specilizing in the production of widely used plastic sheet(ABS sheet, HIPS sheet, PP sheet, PVC sheet, PE sheet and functional composite sheet). Our products are widely used for Automobile internal decorative panel, Electric appliance panel, advertising, motors, interior of vehicles, luggage, furniture, cabinet, sanitaryware industry, building industry (doors, conservatories), kitchen ware, etc. We own several imported automatic extrusion lines with a large annual output. Our products are sold both at home and abroad, Haier, Walmart are our representative customers. Why choose us: 1. Professional team: Complete production line from raw material to finished product and experienced sales department. 2. Quality guarantee: There is a perfect quality assurance system to ensure the products meet customer's requirements. 3. Multi service: We are capable to develop our own products with proper workmanship and so as to produce the products with customized according to provided samples or molds. 4. certification show We shall always be very pleased to enter into business relations with you on the basis of equality and mutual benefit.buy discount PP Material website:http://www.absgoods.com/ website2:http://www.absextruding.com/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,277987,277987#msg-277987 From nginx-forum на forum.nginx.org Thu Jan 4 07:19:46 2018 From: nginx-forum на forum.nginx.org (Pa1amar) Date: Thu, 04 Jan 2018 02:19:46 -0500 Subject: =?UTF-8?B?0J/QvtC70YzQt9C+0LLQsNGC0LXQu9GMINC90LAg0L/QsNC/0LrRgz8=?= Message-ID: <0be68c9f37ac87178894dc719c312626.NginxMailingListRussian@forum.nginx.org> Добрый день.Только знакомлюсь с nginx. Подскажите пожалуйста какого пользователя правильно использовать для папок nginx или www-data Posted at Nginx Forum: https://forum.nginx.org/read.php?21,277989,277989#msg-277989 From dmitriy на lyalyuev.info Thu Jan 4 15:52:29 2018 From: dmitriy на lyalyuev.info (Dmitriy Lyalyuev) Date: Thu, 4 Jan 2018 09:52:29 -0600 Subject: =?UTF-8?B?UmU6INCf0L7Qu9GM0LfQvtCy0LDRgtC10LvRjCDQvdCwINC/0LDQv9C60YM/?= In-Reply-To: <0be68c9f37ac87178894dc719c312626.NginxMailingListRussian@forum.nginx.org> References: <0be68c9f37ac87178894dc719c312626.NginxMailingListRussian@forum.nginx.org> Message-ID: Зависит от того, какой пользователь прописан в конфиге. Ну и от задачи сильно зависит. 2018-01-04 1:19 GMT-06:00 Pa1amar : > Добрый день.Только знакомлюсь с nginx. > Подскажите пожалуйста какого пользователя правильно использовать для папок > nginx или www-data > > Posted at Nginx Forum: https://forum.nginx.org/read. > php?21,277989,277989#msg-277989 > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru -- With best regards, Dmitriy Lyalyuev https://lyalyuev.info ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From nginx-forum на forum.nginx.org Fri Jan 5 00:32:00 2018 From: nginx-forum на forum.nginx.org (xxsxx2v) Date: Thu, 04 Jan 2018 19:32:00 -0500 Subject: Automotive Bearings Made in China Message-ID: <89f941f30eae45032c9cee9f74b63efe.NginxMailingListRussian@forum.nginx.org> Bearing No. I.D O.D Width Specifications DAC3055CRK 30 55 26 Ball Bearing Double Row DG436813 43 68 13 Ball Bearing DG5080 50 80 21 Ball Bearing One Seal DG355815 35 58 15 Ball Bearing Two Seals DG4070 40 70 15 Ball Bearing Open DEO8A27 40 74 40 Double Row Spilt Inner Ring DEO678CS12 30 50 20 Double Row Spilt Inner Ring DEO681CS18 30 54 24 Double Row Spilt Inner Ring ATVBB-2 30 55 25/30 Double Row Spilt Inner Ring QJ305T2C3 17.30 62 17 Ball Bearing Spilt Inner Ring 60/22 2RSC3 22 44 12 Sealed Ball Bearing 60/28 2RSC3 28 52 12 Sealed Ball Bearing 60/32 2RSC3 32 58 13 Sealed Ball Bearing 62/22 2RSC3 22 50 14 Sealed Ball Bearing 62/28 2RSC3 28 58 16 Sealed Ball Bearing 62/32 2RSC3 32 65 17 Sealed Ball Bearing 63/22 2RSC3 22 56 16 Sealed Ball Bearing 63/28 2RSC3 28 68 18 Sealed Ball Bearing 63/32 2RSC3 32 75 20 Sealed Ball Bearing 7203B 17 40 12 Angular contact 6908-2RSC3 40 62 12 Sealed Ball Bearing 6909-2RSC3 45 68 12 Sealed Ball Bearing 16003C3 17 35 8 Ball Beaing 16008C3 40 68 9 Ball Beaing 16013C3 65 100 11 Ball Beaing 16014C3 70 110 13 Ball Beaing 30203 17 40 13,25 Tapered roller Bearing 30205 25 52 16,25 Tapered roller Bearing Automotive Bearings Made in China website:http://www.bywb-bearing.com/automotive-bearings/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278003,278003#msg-278003 From nginx-forum на forum.nginx.org Fri Jan 5 00:33:00 2018 From: nginx-forum на forum.nginx.org (xxsxx2v) Date: Thu, 04 Jan 2018 19:33:00 -0500 Subject: wholesale Cardboard Counter Display Message-ID: Established in 2010 and witnessing 9 years of consistent growth as a business, WOW Display has flourished as a producer of in-shop brand communication tools and cardboard displays. Through our merchandising support to Walmart, Costco, P&G, Kinder, Nivea and so on famous brands, We helped many a brands improve their presence & sales in the global market. WOW Display has a wide range of her POS display line, from temporary to permanent material as well as variety of designs, such as counter displays(CDU), dump bin, floor displays(FSDU), pallet displays, hang sell display, sidekick display, hook display and so on. So far, WOW owning her full set of production lines including printing, die cutting, gluing, mounting and packaging machine, so, all your work will be run in house, which will ensure the lead time and quality better for you. Especially, WOW Display passed the ISO9001, SGS in 2012, set up her own QC team which had been applying 100% inspections system for all production process from then. Our mission is to make the display and provide the service that will give you a “WOW”! Auto Cutting MachineContainer LoadingOffice Printing MachineShowing RoomWarehouse wholesale Cardboard Counter Display website:http://www.cardboard-display-stand.com/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278004,278004#msg-278004 From nginx-forum на forum.nginx.org Fri Jan 5 00:33:10 2018 From: nginx-forum на forum.nginx.org (xxsxx2v) Date: Thu, 04 Jan 2018 19:33:10 -0500 Subject: Fresh Potato price Message-ID: Product feature: High quality potatoes, no pollution, no insects, no spots, skin thin and complete high quality products, home production base and large processing plant, guarantee high quality Complete tubers: ≧ 90% The fraction: ≦ 3% Producing area: Shandong Grade: level 1 Safety: pollution-free vegetables Packing specification: 10kg / carton 20kg / carton or According to customer requirements Product size: 50-100g 100-150g 150g-200g 200g + MOQ; 1 * 40FCL Supply capacity: 1000 tonnes a week Selling point advantage The original ecological planting: do not use pesticides and fertilizers, environmental health Hand Pick delivery: manual fine selection, quality assurance, rest assured orders Professional storage: a professional storage warehouse to ensure that fresh straight hair Beautiful packaging: clean and safe carton packaging, buy comfortable Adapt to the crowd Vegetable wholesale, supermarket direct supply, non-staple food processing, home purchase, hotel direct supply Our company is equipped with food production, processing and export capacity of the formal food processing enterprises, the use of HACCP food safety management system. The main business scope of fresh vegetables, products include fresh onions, garlic, potatoes, white radish, carrots, ginger, taro, potatoes and so on. Products are exported to Malaysia, Thailand, Taiwan, Japan, South Korea and other countries and regions, enjoy a very good reputation around. Company advanced equipment and technology excellent. Workshop design in strict accordance with the health standards of food processing enterprises, all kinds of ancillary facilities. Laboratory can be part of the detection of pesticide residues in vegetables, soil testing, testing of organic and inorganic fertilizers more than 30 test items.Fresh Potato price website:http://www.china-freshgarlic.com/potato/fresh-potato/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278005,278005#msg-278005 From nginx-forum на forum.nginx.org Fri Jan 5 00:33:59 2018 From: nginx-forum на forum.nginx.org (xxsxx2v) Date: Thu, 04 Jan 2018 19:33:59 -0500 Subject: Solar Powered Refrigerator factory Message-ID: Our History Established in 2013, Xiamen Lynsa Intelligent Technology Co., Ltd. are specialize in R&D, manufacturing and marketing of solar energy application and outdoor appliance. Lynsa keeps to the product principle of "advanced R&D and quality first". Meanwhile, Lynsa has continuously devoted to product development for providing plentiful benchmarking products, including Portable power station, Folding solar charger, solar regulator, solar freezer, portable compressor freezer etc. Products are exported to USA, EU, Australia, Middle East countries, etc. Our Factory By gathering professional engineers and designers, and introducing advanced R&D and testing equipment from Domestic and abroad continuously, Lynsa keeps on product innovation and quality improvement for new technical aspects and more business all over the world, and work closely with upstream and downstream suppliers to share the growth and development. Our Product Our main products are 1. Solar regulator. 2. Portable power station. 3. Foldable solar panel. 4. Portable compressor freezer. We have many types of products for you to choose from, must be one you like or need. As a trustable manufacturer and professional exporter, our customers range from large multinational organizations to small individual companies. You are all valued here. Product Application We are aiming to offer you more support for your outdoor lifestyle. Our products are suitable for camping, traveling, emergency lighting and outdoor working etc. It is a series products, designed to provide DC and AC power for mobile devices and outdoor appliances. Solar panel for charging, Solar regulator to adapt, Portable power station to store, and compressor freezer to enjoy. Our Certificate At present, we have one countries for patents for inventions, utility models of three patent and another two countries have applied for patents for inventions. Production Equipment We have a series advanced equipment: 1.Constant Temperature & Humidity Chamber. 2.High Frequency Surge. 3.ICT Tester. 4.Salt Spray Machine. 5.Shieldered Chamber. 6.Wave Soldering. 7.Assembly Workshop. Production Market We sell the products both domestic and oversea. Our sales speak English fluently and help you to fulfill the order. Our products mainly exported to USA, EU, Australia and Middle East etc. During the past years, we have gained much praise from our customers. Their satisfication is our best award. A long way for us to go together. Our service Pre-sale Work out solution together with you. On-sale Strict quality control and products status updation. After-sale Product warranty and technical support.Solar Powered Refrigerator factory website:http://www.cnsolarcharger.com/ website2:http://www.sinosolarcharger.com/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278007,278007#msg-278007 From nginx-forum на forum.nginx.org Fri Jan 5 00:34:09 2018 From: nginx-forum на forum.nginx.org (xxsxx2v) Date: Thu, 04 Jan 2018 19:34:09 -0500 Subject: wholesale Magnesium Chloride Hexahydrate Message-ID: Expanding agent magnesium chloride CHINA WEIFANG LH BRAND 46%min magnesium chloride Test item Specification ARCP Appearance Conform ConformAssay (MgCl2) /%≥98.0≥97.0 PH5.0~6.55.0~6.5 Clarify degrees test Conform Conform Ethanol dissolve experiment Conform Conform Water insoluble/%≤0.005≤0.01 Phosphate(PO4) /%≤0.001≤0.002 Sulfate (SO4) /%≤0.005≤0.01 N /%≤0.005≤0.01 Calcium (Ca) /%≤0.05≤0.01 Iron (Fe) /%≤0.0005≤0.001 Barium strontium (Ba and Sr) /%≤0.005≤0.005 Heavy metal (Pb) /%≤0.0005≤0.001 Magnesium Chloride For food additive. Specifications: Magnesium chloride granule 1.Food grade 2.White small granular in 60mesh 3.Good fluidity and solubility 4.The content is 47% Characters: White, odorless, bitter, easily soluble in water. Being put in wet air, it's easy to get itself wet. Decompose to hydrogen chloride and magnesium oxide in a high temperature. Application: -It can be used as the coagulant in making tofu and other kinds of bean products -It is a necessary raw materials of cosmetic as the mineral substances supplements and moistening agent -It is a mineral substances fortifier in healthy food,energy beverage and other sports drink. Packing bag: It's packed with three kraft papers and one PE as the inner layer, and a compound plastic woven bag as the outer layer. Advantage: -The raw materials were chosen from the salt lake which has 200 million years with less impurities and heavy metals. -We have passed Hlalal, FFC7, E511 certification. -To meet the requirements of CAC, we established a perfect GMP, SSOP, HACCP management system. -It is 18 kilometers away from harbor and railway, thus we enjoy very convenient transportation. We can OEM different chemical magnesium chloride product as different request. 1.Q: Are you a manufacturer or trading company? A: We are manufacturer. 2.Q: Where is your factory located? How can I visit there? A: Our factory is located in shandong, China, you can fly to qingdao, china 3.Q: Min.Order Quantity of your products can be changed? A: Yes, Min.Order Quantity can be changed. 4.Q: What is the payment terms? A: L/C , T/T 5.Q: How does your factory do regarding quality control? A: Our factory has gained CIQ, SGS authentications etc. 6. Q: How long is the leading time? A: Within 15days after everything is confirmed. Package We can do your order package and satisfy your requirement.wholesale Magnesium Chloride Hexahydrate website:http://www.dylhhb.com/magnesium-chloride-hexahydrate/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278008,278008#msg-278008 From nginx-forum на forum.nginx.org Fri Jan 5 00:34:19 2018 From: nginx-forum на forum.nginx.org (xxsxx2v) Date: Thu, 04 Jan 2018 19:34:19 -0500 Subject: Outdoor Or Direct Burial Cable manufacturers Message-ID: Our History EO is an expert in wires & cables OEM ODM with more than 10 years' experience. We are devoted to providing Superior telecommunication cables, audio cables, data cables, power cords and custom cable etc. All the products are independently researched and developed by our company and are sold to the large well known enterprises at home. The cables also have passed UL, CE, SGS and HDMI certificates. Our Factory EO cable is specialized in manufacturing and selling authentication of world wires, plug, various extension cord, wiring, connecting class, have complete specifications safety products (American UL, Europe VDE, Japan PSE, gb CCC, SAA, Britain BSI, BRAZIL BRAZIL, Argentina IRAM KOREA, Taiwan, south KOREA and other countries TWIAN... authentication) and comply with European Union ROHS requirements of environmental protection, and independent design and development of computer peripheral connection wire, wire harnesses, spring line processing, have certain develop strength, can meet the market customers a variety of needs. Our Product We are a professional manufacturer of HDMI, USB, DisplayPort, D-Sub, FFC, LAN cables and different kinds of wire harnesses etc, which is precisely engineered in accordance with international quality standards totally. Product Application We are specialized in manufacturing cables, which is generally used in electronics, electrical, energy, finance, electric power, digital home appliances, automobile, communication, sounds, communication accessory, computers, TV, multimedia, etc, such as BNC connectors, F connectors, scart connectors, PAL connectors, TV plugs & jacks, splitters, scart cables, RCA cables and others. Our Certificate The company boasts its perfect quality guarantee system and a whole set of modern physicochemical inspection equipment. In recent years, the company successively passed the certifications of TS16949, ISO9001: 2000, UL, CE, SGS and HDMI quality standard. Production Equipment Our product-line including: USB Cables(type c cable, QC 3.0 cable)& (USB to Type C Adapters),MFI Products, Wireless Charger Pad, USB Car Charger, QC 3.0 Quick Charger Stations, Type C HUB and Card read, Mobile Accessories( Power Bank, Phone cases and Holder, Bluetooth headphone)etc. Production Market The products have been exported to 28 countries and areas, such as Japan, America, France, Germany, Italy, etc. With self-run import & export right, the company is capable of directly taking foreign customers' orders. Our service To gain optimum client satisfaction, we ensure safe packaging and prompt delivery of the ordered consignmentOutdoor Or Direct Burial Cable manufacturers website:http://www.eocable.com/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278009,278009#msg-278009 From nginx-forum на forum.nginx.org Fri Jan 5 00:34:32 2018 From: nginx-forum на forum.nginx.org (xxsxx2v) Date: Thu, 04 Jan 2018 19:34:32 -0500 Subject: PVC Clear Chair Mat suppliers Message-ID: Our History EO Technology Co., Ltd is one of leading machine-made carpet manufacturers in China. EO is a comprehensive trading company; we have our own investment carpet factory. EO to the managing idea of pursuit for excellence, striving for the first-class.” and through continual improvement, EO company has formed a scientific management system applying to professionally large-scaled production. The company has passed ISO9001:2000 international Quality Certification system. The products have been honored as Chinese Environment Friendly Carpet By Carpet Association of China and entitled as “Green Products” by Chinese Environment Protection Fund Committee. EO is willing to have a wide communication with business clients at home and abroad, cooperate honestly, forge on shoulder by shoulder, seek a path for mutual benefits and create a bright future together! Our Factory We have our own investment carpet factory。 Established in 2005, we introduced advanced equipments from Germany, Britain and Belgium. Today we have 10 branch factories in China which are equipped with tufted carpet machines, Wilton carpet machines, Chinese carved wool rugs machines, five after-organizing production lines, and two carpet yarn production lines. Our more than 2,000 workforce can supply 20 million square meters of carpet per year, and your urgent orders can be delivered in just seven days. Our Product We mainly offer Chinese carved wool rugs, Wilton carpets, tufted carpets, nylon printed carpets, carpet rugs, carpet tiles, car carpet and more. Product Application Application: Car, Commercial, Decorative, Home, Hotel, Outdoor, Prayer, Toilet, Meeting room, etc. Our Certificate We have ISO9001: 2000 international Quality Certification, CIR, CE, etc. Production Equipment We introduced advanced equipments from Germany, Britain and Belgium. Today we have ten branch factories in China which are equipped with tufted carpet machines, Wilton carpet machines, Chinese carved wool rugs machines, five after-organizing production lines, and two carpet yarn production lines. Production Market Products are exported to Europe, America, Asia, Middle East and other Muslim countries Our service We have excellent design department and sales teams. Thousands of carpets can be designed. Once you have received your inquiry about Carpet, we will respond in time within 24 hours With the positive concepts as to be swifter, Once the contract is signed, we will choose a good route, and the goods will be safe and timely from the factory to where you need. Flexible, not-self and create a win-win situation.PVC Clear Chair Mat suppliers website:http://www.eocarpet.com/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278010,278010#msg-278010 From nginx-forum на forum.nginx.org Fri Jan 5 00:34:46 2018 From: nginx-forum на forum.nginx.org (xxsxx2v) Date: Thu, 04 Jan 2018 19:34:46 -0500 Subject: Handrail Profile factory Message-ID: <9df4575b3c9cbd2c3330c07d87b729e1.NginxMailingListRussian@forum.nginx.org> Product Description We have made everything from straight runs of handrail attached to walls to elaborate complete spiral staircases capped with torturously twisting, exactly fitting bronze. In the simplest case to the most complex, your needs are carefully considered. Product Show Product Application One of the finest handrail materials, our manganese alloyed bronze is extremely beautiful and versatile. We can supply the standard sections shown here in 5 metre lengths or offer a complete service including design, make and installation. We can match existing profiles or make entirely new ones. Package and Delivery 1. Standard Exporting package. 2. Original package or neutral package. 3. According to clients ' needs. 4. Shipped in10-35 days after payment. Handrail Profile factory website:http://www.eocopper.com/copper-profile/handrail-profile/ Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278011,278011#msg-278011 From coddoc на mail.ru Tue Jan 9 07:04:31 2018 From: coddoc на mail.ru (=?UTF-8?B?Q29ERG9D?=) Date: Tue, 09 Jan 2018 10:04:31 +0300 Subject: =?UTF-8?B?0KHQv9C40YHQvtC6INC80L7QtNGD0LvQtdC5?= Message-ID: <1515481471.508751002@f430.i.mail.ru> Доброе время суток! nginx -V показывает вкомпиленные модули. А как, без просмотра конфига, оперативно посмотреть, какие динамические модули загружены директивой load_module? Что-то типа php -m, apachectl -M. -- ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From nginx-forum на forum.nginx.org Wed Jan 10 14:21:17 2018 From: nginx-forum на forum.nginx.org (Pa1amar) Date: Wed, 10 Jan 2018 09:21:17 -0500 Subject: =?UTF-8?B?0J3QtSDRgNCw0LHQvtGC0LDQtdGCINGA0LXQtNC40YDQtdC60YIg0LIgbW96aWxs?= =?UTF-8?B?YS4=?= Message-ID: Пытаюсь сделать редирект с https://www.lan-ip.ru/ на https://lan-ip.ru/ Во всех браузерах работает а в mozilla нет. Мой конфиг server { server_name www.lan-ip.ru; return 301 https://lan-ip.ru$request_uri; } server { listen 80; listen [::]:80; server_name lan-ip.ru; return 301 https://lan-ip.ru$request_uri; } server { listen 443 ssl; listen [::]:443 ssl; root /var/www/lanip; # certs sent to the client in SERVER HELLO are concatenated in ssl_certificate ssl_certificate /etc/letsencrypt/live/lan-ip.ru/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/lan-ip.ru/privkey.pem; ssl_session_timeout 1d; ssl_session_cache shared:SSL:50m; ssl_session_tickets off; # Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # intermediate configuration. tweak to your needs. ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS'; ssl_prefer_server_ciphers on; # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months) add_header Strict-Transport-Security max-age=15768000; # OCSP Stapling --- # fetch OCSP records from URL in ssl_certificate and cache them ssl_stapling on; ssl_stapling_verify on; ## verify chain of trust of OCSP response using Root CA and Intermediate certs ssl_trusted_certificate /etc/letsencrypt/live/lan-ip.ru/chain.pem; location / { index index.php index.html index.htm; } location ~ \.php$ { fastcgi_pass unix:/run/php/php7.2-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } # deny access to .htaccess files, if Apache's document root # concurs with nginx's one location ~ /\.ht { deny all; } # include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot #if ($scheme != "https") { # return 301 https://$host$request_uri; #} } Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278082,278082#msg-278082 From nginx-forum на forum.nginx.org Mon Jan 15 08:43:18 2018 From: nginx-forum на forum.nginx.org (ellaizzer) Date: Mon, 15 Jan 2018 03:43:18 -0500 Subject: =?UTF-8?B?0J3QsCDQv9GB0LXQstC00L7QvdC40LzQtSDRgdCw0LnRgtCwINC90LUg0LrQtdGI?= =?UTF-8?B?0LjRgNGD0Y7RgtGB0Y8g0LrQsNGA0YLQuNC90LrQuCDQuCDQtNGA0YPQs9C4?= =?UTF-8?B?0LUg0YTQsNC50LvRiyAtIG5naW54?= Message-ID: <6630578fdf5fcb731769861404342111.NginxMailingListRussian@forum.nginx.org> Есть сайт (заменил на example.com) Вот его nginx конфиг: server { server_name example.com m.example.com www.example.com www.m.example.com; charset off; disable_symlinks if_not_owner from=$root_path; index index.html index.php; root $root_path/$subdomain; set $root_path /var/www/examplecom/data/www; set $subdomain example.com; ssi on; access_log /var/www/httpd-logs/example.com.access.log ; error_log /var/www/httpd-logs/example.com.error.log notice; include /etc/nginx/vhosts-includes/*.conf; include /etc/nginx/vhosts-resources/example.com/*.conf; location / { location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf|woff|ttf|otf||woff2|eot)$ { try_files $uri $uri/ @fallback; expires 6M; } location / { try_files /does_not_exists @fallback; } location ~ [^/]\.ph(p\d*|tml)$ { try_files /does_not_exists @fallback; } } location @fallback { error_log /dev/null crit; proxy_pass http://127.0.0.1:8080; proxy_redirect http://127.0.0.1:8080 /; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Port $server_port; access_log off ; } if ($host ~* ^((.*).example.com)$) { set $subdomain $1; } gzip on; gzip_comp_level 5; gzip_disable "msie6"; gzip_types text/plain text/css image/jpeg image/png image/gif text/xml application/xml application/xhtml+xml text/javascript application/x-javascript application/javascript; listen 8.1.35.82:80; } Проблема в том что не кешуруются файлы на псевдонимах m.example.com и www.m.example.com, но кешируются на example.com и www.example.com Кто подскажет в чем может быть проблема некеширования на псевдонимах? Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278140,278140#msg-278140 From alex.hha на gmail.com Mon Jan 15 11:23:36 2018 From: alex.hha на gmail.com (Alex Domoradov) Date: Mon, 15 Jan 2018 13:23:36 +0200 Subject: =?UTF-8?B?UmU6INCd0LAg0L/RgdC10LLQtNC+0L3QuNC80LUg0YHQsNC50YLQsCDQvdC1INC6?= =?UTF-8?B?0LXRiNC40YDRg9GO0YLRgdGPINC60LDRgNGC0LjQvdC60Lgg0Lgg0LTRgNGD?= =?UTF-8?B?0LPQuNC1INGE0LDQudC70YsgLSBuZ2lueA==?= In-Reply-To: <6630578fdf5fcb731769861404342111.NginxMailingListRussian@forum.nginx.org> References: <6630578fdf5fcb731769861404342111.NginxMailingListRussian@forum.nginx.org> Message-ID: Я может что пропустил, а где у вас вообще кеширование? Ибо не вижу ни одной из директив proxy_cache/proxy_cache_path/proxy_cache_key On Mon, Jan 15, 2018 at 10:43 AM, ellaizzer wrote: > Есть сайт (заменил на example.com) > > Вот его nginx конфиг: > > > server { > server_name example.com m.example.com www.example.com > www.m.example.com; > charset off; > disable_symlinks if_not_owner from=$root_path; > index index.html index.php; > root $root_path/$subdomain; > set $root_path /var/www/examplecom/data/www; > set $subdomain example.com; > ssi on; > access_log /var/www/httpd-logs/example.com.access.log ; > error_log /var/www/httpd-logs/example.com.error.log notice; > include /etc/nginx/vhosts-includes/*.conf; > include /etc/nginx/vhosts-resources/example.com/*.conf; > location / { > location ~* > ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz| > bz2?|rar|swf|woff|ttf|otf||woff2|eot)$ > { > try_files $uri $uri/ @fallback; > expires 6M; > } > location / { > try_files /does_not_exists @fallback; > } > location ~ [^/]\.ph(p\d*|tml)$ { > try_files /does_not_exists @fallback; > } > } > location @fallback { > error_log /dev/null crit; > proxy_pass http://127.0.0.1:8080; > proxy_redirect http://127.0.0.1:8080 /; > proxy_set_header Host $host; > proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; > proxy_set_header X-Forwarded-Proto $scheme; > proxy_set_header X-Forwarded-Port $server_port; > access_log off ; > } > if ($host ~* ^((.*).example.com)$) { > set $subdomain $1; > } > gzip on; > gzip_comp_level 5; > gzip_disable "msie6"; > gzip_types text/plain text/css image/jpeg image/png image/gif text/xml > application/xml application/xhtml+xml text/javascript > application/x-javascript application/javascript; > listen 8.1.35.82:80; > } > > > Проблема в том что не кешуруются файлы на псевдонимах m.example.com и > www.m.example.com, но кешируются на example.com и www.example.com > > Кто подскажет в чем может быть проблема некеширования на псевдонимах? > > Posted at Nginx Forum: https://forum.nginx.org/read. > php?21,278140,278140#msg-278140 > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From sytar.alex на gmail.com Mon Jan 15 11:38:23 2018 From: sytar.alex на gmail.com (Aleksandr Sytar) Date: Mon, 15 Jan 2018 14:38:23 +0300 Subject: =?UTF-8?B?UmU6INCd0LAg0L/RgdC10LLQtNC+0L3QuNC80LUg0YHQsNC50YLQsCDQvdC1INC6?= =?UTF-8?B?0LXRiNC40YDRg9GO0YLRgdGPINC60LDRgNGC0LjQvdC60Lgg0Lgg0LTRgNGD?= =?UTF-8?B?0LPQuNC1INGE0LDQudC70YsgLSBuZ2lueA==?= In-Reply-To: <6630578fdf5fcb731769861404342111.NginxMailingListRussian@forum.nginx.org> References: <6630578fdf5fcb731769861404342111.NginxMailingListRussian@forum.nginx.org> Message-ID: 2018-01-15 11:43 GMT+03:00 ellaizzer : > > Проблема в том что не кешуруются файлы на псевдонимах m.example.com и > www.m.example.com, но кешируются на example.com и www.example.com > > Кто подскажет в чем может быть проблема некеширования на псевдонимах? > > На каком уровне кеширование должно быть по вашему мнению - в браузере или в nginx и как именно вы проверяете что не кешируется? ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From pluknet на nginx.com Mon Jan 15 11:45:58 2018 From: pluknet на nginx.com (Sergey Kandaurov) Date: Mon, 15 Jan 2018 14:45:58 +0300 Subject: =?UTF-8?B?UmU6INCh0L/QuNGB0L7QuiDQvNC+0LTRg9C70LXQuQ==?= In-Reply-To: <1515481471.508751002@f430.i.mail.ru> References: <1515481471.508751002@f430.i.mail.ru> Message-ID: > On 9 Jan 2018, at 10:04, CoDDoC wrote: > > Доброе время суток! > > nginx -V показывает вкомпиленные модули. > А как, без просмотра конфига, оперативно посмотреть, какие динамические модули загружены директивой load_module? > Что-то типа php -m, apachectl -M. Видимо, средствами операционной системы. На FreeBSD я бы воспользовался procstat(1), e.g.: $ procstat -v `cat nginx.pid` | awk '{print $11}' | grep -E ngx.+so | \ uniq | xargs basename ngx_http_geoip_module.so ngx_http_image_filter_module.so ngx_http_perl_module.so ngx_http_xslt_filter_module.so ngx_stream_geoip_module.so -- Sergey Kandaurov From nginx-forum на forum.nginx.org Mon Jan 15 12:16:17 2018 From: nginx-forum на forum.nginx.org (ingtar) Date: Mon, 15 Jan 2018 07:16:17 -0500 Subject: =?UTF-8?B?aW1hZ2UgZmlsdGVyINC4INGA0LXRgdCw0LnQtw==?= Message-ID: Добрый день! Пользуемся таким замечательным модулем как https://nginx.ru/ru/docs/http/ngx_http_image_filter_module.html но столкнулись с тем, что он не может ресайзить в бОльшую сторону. (исходная картинка 100х100 и растянуть ее до 200х200) Возможно я не нашел этой опции или он так действительно не умеет? Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278147,278147#msg-278147 From vbart на nginx.com Mon Jan 15 12:55:05 2018 From: vbart на nginx.com (=?utf-8?B?0JLQsNC70LXQvdGC0LjQvSDQkdCw0YDRgtC10L3QtdCy?=) Date: Mon, 15 Jan 2018 15:55:05 +0300 Subject: =?UTF-8?B?UmU6IGltYWdlIGZpbHRlciDQuCDRgNC10YHQsNC50Lc=?= In-Reply-To: References: Message-ID: <1982591.ge3JaaHXkf@vbart-workstation> On Monday 15 January 2018 07:16:17 ingtar wrote: > Добрый день! Пользуемся таким замечательным модулем как > https://nginx.ru/ru/docs/http/ngx_http_image_filter_module.html > но столкнулись с тем, что он не может ресайзить в бОльшую сторону. (исходная > картинка 100х100 и растянуть ее до 200х200) > Возможно я не нашел этой опции или он так действительно не умеет? > Модуль создавался для экономии трафика, а не наоборот. По этому обратную операцию он намеренно не делает. -- Валентин Бартенев From vbart на nginx.com Mon Jan 15 15:43:40 2018 From: vbart на nginx.com (=?utf-8?B?0JLQsNC70LXQvdGC0LjQvSDQkdCw0YDRgtC10L3QtdCy?=) Date: Mon, 15 Jan 2018 18:43:40 +0300 Subject: =?UTF-8?B?0KDQtdC70LjQtyBVbml0IDAuNCBiZXRh?= Message-ID: <2368554.QKb8pUtNrB@vbart-workstation> Здравствуйте. Рад сообщить о выпуске новой бета версии NGINX Unit. Данный выпуск главным образом призван исправить ряд серьезных регрессий в предыдущей версии. Изменения в Unit 0.4 15.01.2017 *) Добавление: совместимость с DragonFly BSD. *) Добавление: опция "configure php --lib-static". *) Исправление: тело HTTP запроса не передавалось в приложение; ошибка появилась в 0.3. *) Исправление: в выделении и освобождении больших буферов для HTTP заголовка; ошибка появилась в 0.3. *) Исправление: некоторые приложения на PHP могли не работать с относительным путем в "root". Ссылки на исходники и готовые пакеты для Linux находятся здесь: - https://unit.nginx.org/installation/ У нас используется Buildbot для сборки и тестирования каждой ревизии на множестве систем. Мы также используем различные инструменты статического анализа для повышения качества кода и проверки покрытия тестами. В настоящее время ведется работа по развитию функциональных тестов, что поможет в будущем избежать подобных регрессий. Также имеются планы по фаззинг тестированию. Узнать больше о последних изменения можно из недавней статьи в блоге: - https://www.nginx.com/blog/unit-0-3-beta-release-available-now/ Кроме этого, сегодня у нас случилось пополнение в команде разработчиков Unit. К нам присоединился Александр Борисов и первой его задачей станет добавление поддержки Perl/PSGI. -- Валентин Бартенев From nginx-forum на forum.nginx.org Tue Jan 16 10:07:10 2018 From: nginx-forum на forum.nginx.org (softshape) Date: Tue, 16 Jan 2018 05:07:10 -0500 Subject: =?UTF-8?B?0JrQsNC6INC+0YLQtNCw0YLRjCDQtNGA0YPQs9C+0Lkg0YTQsNC50Lsg0LTQu9GP?= =?UTF-8?B?IElFID8=?= Message-ID: <4c97d503d1f554d9a4e9d4705ad4b805.NginxMailingListRussian@forum.nginx.org> Всем привет, задача - на один и тот же запрос всем браузерам отдать файл development.css, а для IE отдать production.css. Пишу правило: location = /css/development.css { rewrite ^(.*) /css/production.css; } Работает. Добавляем проверку на IE - location = /css/development.css { if ($http_user_agent ~* 'MSIE') { rewrite ^(.*) /css/production.css; break; } } Возвращает 404. Что я делаю не так? Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278153,278153#msg-278153 From nginx-forum на forum.nginx.org Tue Jan 16 16:59:06 2018 From: nginx-forum на forum.nginx.org (softshape) Date: Tue, 16 Jan 2018 11:59:06 -0500 Subject: =?UTF-8?B?UmU6INCa0LDQuiDQvtGC0LTQsNGC0Ywg0LTRgNGD0LPQvtC5INGE0LDQudC7INC0?= =?UTF-8?B?0LvRjyBJRSA/?= In-Reply-To: <4c97d503d1f554d9a4e9d4705ad4b805.NginxMailingListRussian@forum.nginx.org> References: <4c97d503d1f554d9a4e9d4705ad4b805.NginxMailingListRussian@forum.nginx.org> Message-ID: В общем лучшее что пока что получилось, это - location = /css/development.css { if ($http_user_agent ~* 'Trident') { rewrite ^(.*)$ /css/production.css redirect; } } Потому что 1) у MSIE 11 нет слова MSIE в user agent, но у всех есть Trident; 2) break не срабатывает, но работает redirect; 3) знак "=" нужен, без него не заходит в локейшен. Эта конструкция делает корректный редирект на production.css в IE, однако в остальных браузерах возвращает 404. Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278153,278159#msg-278159 From simplebox66 на gmail.com Thu Jan 18 08:15:55 2018 From: simplebox66 на gmail.com (=?UTF-8?B?0JjQstCw0L0g0JzQuNGI0LjQvQ==?=) Date: Thu, 18 Jan 2018 11:15:55 +0300 Subject: =?UTF-8?B?0JTQvtC70Lgg0YHQtdC60YPQvdC0INCyINC70L7Qs9Cw0YU=?= Message-ID: На данный момент в логах использую $time_local. Хотелось бы фиксировать не только секунды, но и доли секунд. Подскажите как это можно сделать? ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From chipitsine на gmail.com Thu Jan 18 08:22:23 2018 From: chipitsine на gmail.com (=?UTF-8?B?0JjQu9GM0Y8g0KjQuNC/0LjRhtC40L0=?=) Date: Thu, 18 Jan 2018 13:22:23 +0500 Subject: =?UTF-8?B?UmU6INCU0L7Qu9C4INGB0LXQutGD0L3QtCDQsiDQu9C+0LPQsNGF?= In-Reply-To: References: Message-ID: 18 января 2018 г., 13:15 пользователь Иван Мишин написал: > На данный момент в логах использую $time_local. > time_local - это очень странный пример, он есть в документации, подозреваю, оттуда его тиражируют > Хотелось бы фиксировать не только секунды, но и доли секунд. Подскажите > как это можно сделать? > $time_iso8601 - во всех смыслах более удобная штука. поддерживается любыми SQL-серверами и LogParser-ом > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru > ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From simplebox66 на gmail.com Thu Jan 18 09:13:06 2018 From: simplebox66 на gmail.com (=?UTF-8?B?0JjQstCw0L0g0JzQuNGI0LjQvQ==?=) Date: Thu, 18 Jan 2018 12:13:06 +0300 Subject: =?UTF-8?B?UmU6INCU0L7Qu9C4INGB0LXQutGD0L3QtCDQsiDQu9C+0LPQsNGF?= In-Reply-To: References: Message-ID: > > $time_iso8601 - во всех смыслах более удобная штука. поддерживается любыми > SQL-серверами и LogParser-ом Тем не менее этот формат не мили ни микро секунды не показывает. 18 января 2018 г., 11:22 пользователь Илья Шипицин написал: > > > 18 января 2018 г., 13:15 пользователь Иван Мишин > написал: > >> На данный момент в логах использую $time_local. >> > > time_local - это очень странный пример, он есть в документации, > подозреваю, оттуда его тиражируют > > >> Хотелось бы фиксировать не только секунды, но и доли секунд. Подскажите >> как это можно сделать? >> > > $time_iso8601 - во всех смыслах более удобная штука. поддерживается любыми > SQL-серверами и LogParser-ом > >> >> _______________________________________________ >> nginx-ru mailing list >> nginx-ru на nginx.org >> http://mailman.nginx.org/mailman/listinfo/nginx-ru >> > > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru > ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From mail на sho0ter.com Thu Jan 18 09:21:33 2018 From: mail на sho0ter.com (Maxim Bashtovoy) Date: Thu, 18 Jan 2018 11:21:33 +0200 Subject: Windows SSL Error Message-ID: Всем доброго времени суток! При попытке запустить nginx под виндой с SSL конфигурацией получаю: 2018/01/18 11:16:41 [emerg] 2644#5580: BIO_new_file("C:\Users\Sho0ter\Web ginx\conf\crt.crt") failed (SSL: error:02001015:system library:fopen:Is a directory:fopen('e:\nginx\nginx-stable\objs.msvc8\lib\openssl-1.0.2l/openssl/ssl/openssl.cnf','rb') error:2006D002:BIO routines:BIO_new_file:system lib error:0E078002:configuration file routines:DEF_LOAD:system lib error:0200107B:system library:fopen:Unknown error:fopen('C:\Users\Sho0ter\Web ginx\conf\crt.crt','r') error:2006D002:BIO routines:BIO_new_file:system lib) С правами доступа к файлам все ок, пробовал последние версии стабильной и майнлайн ветки. Кто-то подскажет куда копать? -- Best regards, Maxim Bashtovoy www.sho0ter.com From gmm на csdoc.com Thu Jan 18 09:25:47 2018 From: gmm на csdoc.com (Gena Makhomed) Date: Thu, 18 Jan 2018 11:25:47 +0200 Subject: =?UTF-8?B?UmU6INCU0L7Qu9C4INGB0LXQutGD0L3QtCDQsiDQu9C+0LPQsNGF?= In-Reply-To: References: Message-ID: <8305e62c-7bc4-4893-020b-89b75a2c28da@csdoc.com> On 18.01.2018 10:15, Иван Мишин wrote: > На данный момент в логах использую $time_local. > Хотелось бы фиксировать не только секунды, но и доли секунд. Подскажите как > это можно сделать? http://nginx.org/en/docs/http/ngx_http_log_module.html#var_msec Referer: http://nginx.org/en/docs/varindex.html -- Best regards, Gena From simplebox66 на gmail.com Thu Jan 18 09:32:41 2018 From: simplebox66 на gmail.com (=?UTF-8?B?0JjQstCw0L0g0JzQuNGI0LjQvQ==?=) Date: Thu, 18 Jan 2018 12:32:41 +0300 Subject: =?UTF-8?B?UmU6INCU0L7Qu9C4INGB0LXQutGD0L3QtCDQsiDQu9C+0LPQsNGF?= In-Reply-To: <8305e62c-7bc4-4893-020b-89b75a2c28da@csdoc.com> References: <8305e62c-7bc4-4893-020b-89b75a2c28da@csdoc.com> Message-ID: $msec выдает в лог вот такого вида время 1516267749.614 Оно не человеческое, крайне не удобно будет работать с таким форматом 18 января 2018 г., 12:25 пользователь Gena Makhomed написал: > On 18.01.2018 10:15, Иван Мишин wrote: > > На данный момент в логах использую $time_local. >> Хотелось бы фиксировать не только секунды, но и доли секунд. Подскажите >> как >> это можно сделать? >> > > http://nginx.org/en/docs/http/ngx_http_log_module.html#var_msec > > Referer: http://nginx.org/en/docs/varindex.html > > -- > Best regards, > Gena > > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru > ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From nginx на mva.name Thu Jan 18 09:34:53 2018 From: nginx на mva.name (Vadim A. Misbakh-Soloviov) Date: Thu, 18 Jan 2018 12:34:53 +0300 Subject: =?UTF-8?B?UmU6INCU0L7Qu9C4INGB0LXQutGD0L3QtCDQsiDQu9C+0LPQsNGF?= In-Reply-To: References: <8305e62c-7bc4-4893-020b-89b75a2c28da@csdoc.com> Message-ID: <2828861.GUx0fxQzrD@note> Это смотря как и чем вы работаете. И постгрес, и даже скриптовые языки прекрасно умеют конвертировать unix timestamp в человекочитаемое время (более того, именно unix timestamp наиболее удобный для работы (машинной) формат времени. В письме от четверг, 18 января 2018 г. 12:32:41 MSK пользователь Иван Мишин написал: > $msec выдает в лог вот такого вида время 1516267749.614 > Оно не человеческое, крайне не удобно будет работать с таким форматом > > 18 января 2018 г., 12:25 пользователь Gena Makhomed > написал: > > > On 18.01.2018 10:15, Иван Мишин wrote: > > > > > > > > На данный момент в логах использую $time_local. > > > >> Хотелось бы фиксировать не только секунды, но и доли секунд. Подскажите > >> как > >> это можно сделать? > >> > >> > > > > > > > > http://nginx.org/en/docs/http/ngx_http_log_module.html#var_msec > > > > > > > > Referer: http://nginx.org/en/docs/varindex.html > > > > > > > > -- > > Best regards, > > > > Gena > > > > > > > > > > _______________________________________________ > > nginx-ru mailing list > > nginx-ru на nginx.org > > http://mailman.nginx.org/mailman/listinfo/nginx-ru > > > > From chipitsine на gmail.com Thu Jan 18 09:38:10 2018 From: chipitsine на gmail.com (=?UTF-8?B?0JjQu9GM0Y8g0KjQuNC/0LjRhtC40L0=?=) Date: Thu, 18 Jan 2018 14:38:10 +0500 Subject: =?UTF-8?B?UmU6INCU0L7Qu9C4INGB0LXQutGD0L3QtCDQsiDQu9C+0LPQsNGF?= In-Reply-To: <2828861.GUx0fxQzrD@note> References: <8305e62c-7bc4-4893-020b-89b75a2c28da@csdoc.com> <2828861.GUx0fxQzrD@note> Message-ID: я работаю с Log Parser: https://habrahabr.ru/post/85758/ where по iso8601 оно умеет из коробки (было бы круто в документации поменять пример с time_local на time_iso8601) 18 января 2018 г., 14:34 пользователь Vadim A. Misbakh-Soloviov < nginx на mva.name> написал: > Это смотря как и чем вы работаете. > И постгрес, и даже скриптовые языки прекрасно умеют конвертировать unix > timestamp в человекочитаемое время (более того, именно unix timestamp > наиболее > удобный для работы (машинной) формат времени. > > В письме от четверг, 18 января 2018 г. 12:32:41 MSK пользователь Иван Мишин > написал: > > $msec выдает в лог вот такого вида время 1516267749.614 > > Оно не человеческое, крайне не удобно будет работать с таким форматом > > > > 18 января 2018 г., 12:25 пользователь Gena Makhomed > > написал: > > > > > > On 18.01.2018 10:15, Иван Мишин wrote: > > > > > > > > > > > > На данный момент в логах использую $time_local. > > > > > >> Хотелось бы фиксировать не только секунды, но и доли секунд. > Подскажите > > >> как > > >> это можно сделать? > > >> > > >> > > > > > > > > > > > > http://nginx.org/en/docs/http/ngx_http_log_module.html#var_msec > > > > > > > > > > > > Referer: http://nginx.org/en/docs/varindex.html > > > > > > > > > > > > -- > > > Best regards, > > > > > > Gena > > > > > > > > > > > > > > > _______________________________________________ > > > nginx-ru mailing list > > > nginx-ru на nginx.org > > > http://mailman.nginx.org/mailman/listinfo/nginx-ru > > > > > > > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru > ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From simplebox66 на gmail.com Thu Jan 18 09:54:31 2018 From: simplebox66 на gmail.com (=?UTF-8?B?0JjQstCw0L0g0JzQuNGI0LjQvQ==?=) Date: Thu, 18 Jan 2018 12:54:31 +0300 Subject: =?UTF-8?B?UmU6INCU0L7Qu9C4INGB0LXQutGD0L3QtCDQsiDQu9C+0LPQsNGF?= In-Reply-To: References: <8305e62c-7bc4-4893-020b-89b75a2c28da@csdoc.com> <2828861.GUx0fxQzrD@note> Message-ID: я логи обрабатываю с помощью logstash и складываю в elastic, а затем просматриваю их с помощью kibana. Мне важно получить в кибане юзерфрендли временную метку с миллисекундами (хотя бы, а лучше микро), т.к. виртуальных хостов много и логов тоже много, поэтому в рамках одной секунды очень много записей попадает и какие запросы за какими следуют не понятно. 18 января 2018 г., 12:38 пользователь Илья Шипицин написал: > я работаю с Log Parser: https://habrahabr.ru/post/85758/ > > where по iso8601 оно умеет из коробки > > (было бы круто в документации поменять пример с time_local на time_iso8601) > > 18 января 2018 г., 14:34 пользователь Vadim A. Misbakh-Soloviov < > nginx на mva.name> написал: > > Это смотря как и чем вы работаете. >> И постгрес, и даже скриптовые языки прекрасно умеют конвертировать unix >> timestamp в человекочитаемое время (более того, именно unix timestamp >> наиболее >> удобный для работы (машинной) формат времени. >> >> В письме от четверг, 18 января 2018 г. 12:32:41 MSK пользователь Иван >> Мишин >> написал: >> > $msec выдает в лог вот такого вида время 1516267749.614 >> > Оно не человеческое, крайне не удобно будет работать с таким форматом >> > >> > 18 января 2018 г., 12:25 пользователь Gena Makhomed >> > написал: >> >> > >> > > On 18.01.2018 10:15, Иван Мишин wrote: >> > > >> > > >> > > >> > > На данный момент в логах использую $time_local. >> > > >> > >> Хотелось бы фиксировать не только секунды, но и доли секунд. >> Подскажите >> > >> как >> > >> это можно сделать? >> > >> >> > >> >> > > >> > > >> > > >> > > http://nginx.org/en/docs/http/ngx_http_log_module.html#var_msec >> > > >> > > >> > > >> > > Referer: http://nginx.org/en/docs/varindex.html >> > > >> > > >> > > >> > > -- >> > > Best regards, >> > > >> > > Gena >> > > >> > > >> > > >> > > >> > > _______________________________________________ >> > > nginx-ru mailing list >> > > nginx-ru на nginx.org >> > > http://mailman.nginx.org/mailman/listinfo/nginx-ru >> > > >> > > >> >> _______________________________________________ >> nginx-ru mailing list >> nginx-ru на nginx.org >> http://mailman.nginx.org/mailman/listinfo/nginx-ru >> > > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru > ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From alexey на remizov.org Thu Jan 18 10:03:03 2018 From: alexey на remizov.org (Alexey Remizov) Date: Thu, 18 Jan 2018 13:03:03 +0300 Subject: =?UTF-8?B?UmU6INCU0L7Qu9C4INGB0LXQutGD0L3QtCDQsiDQu9C+0LPQsNGF?= In-Reply-To: References: <8305e62c-7bc4-4893-020b-89b75a2c28da@csdoc.com> <2828861.GUx0fxQzrD@note> Message-ID: On 18.01.2018 12:54, Иван Мишин wrote: > я логи обрабатываю с помощью logstash и складываю в elastic, а затем > просматриваю их с помощью kibana. > Мне важно получить в кибане юзерфрендли временную метку с миллисекундами Берите $msec и в logstash прогоняйте через фильтр date с форматом UNIX_MS https://www.elastic.co/guide/en/logstash/current/plugins-filters-date.html#plugins-filters-date-match -- С уважением. WBR. Алексей. Alexey. mailto:alexey на remizov.org jabber:remizov на jabber.ru From alexey на remizov.org Thu Jan 18 10:05:30 2018 From: alexey на remizov.org (Alexey Remizov) Date: Thu, 18 Jan 2018 13:05:30 +0300 Subject: =?UTF-8?B?UmU6INCU0L7Qu9C4INGB0LXQutGD0L3QtCDQsiDQu9C+0LPQsNGF?= In-Reply-To: References: <8305e62c-7bc4-4893-020b-89b75a2c28da@csdoc.com> <2828861.GUx0fxQzrD@note> Message-ID: <8791a895-2627-9c40-05b4-2d76cc7369c4@remizov.org> On 18.01.2018 13:03, Alexey Remizov wrote: > On 18.01.2018 12:54, Иван Мишин wrote: > >> я логи обрабатываю с помощью logstash и складываю в elastic, а затем >> просматриваю их с помощью kibana. >> Мне важно получить в кибане юзерфрендли временную метку с миллисекундами > > Берите $msec и в logstash прогоняйте через фильтр date с форматом UNIX_MS Ошибся, не UNIX_MS, а просто UNIX. -- С уважением. WBR. Алексей. Alexey. mailto:alexey на remizov.org jabber:remizov на jabber.ru From dmitriy на lyalyuev.info Thu Jan 18 10:06:30 2018 From: dmitriy на lyalyuev.info (Dmitriy Lyalyuev) Date: Thu, 18 Jan 2018 12:06:30 +0200 Subject: Windows SSL Error In-Reply-To: References: Message-ID: Ошибка явно говорит, что не может прочитать файл: Unknown error:fopen('C:\Users\Sho0ter\Web ginx\conf\crt.crt','r') Проверьте пути в конфигах, а лучше перепишите их. 2018-01-18 11:21 GMT+02:00 Maxim Bashtovoy : > Всем доброго времени суток! > > При попытке запустить nginx под виндой с SSL конфигурацией получаю: > > 2018/01/18 11:16:41 [emerg] 2644#5580: BIO_new_file("C:\Users\Sho0ter\Web > ginx\conf\crt.crt") failed (SSL: error:02001015:system library:fopen:Is a > directory:fopen('e:\nginx\nginx-stable\objs.msvc8\lib\openss > l-1.0.2l/openssl/ssl/openssl.cnf','rb') error:2006D002:BIO > routines:BIO_new_file:system lib error:0E078002:configuration file > routines:DEF_LOAD:system lib error:0200107B:system library:fopen:Unknown > error:fopen('C:\Users\Sho0ter\Web > ginx\conf\crt.crt','r') error:2006D002:BIO routines:BIO_new_file:system > lib) > > С правами доступа к файлам все ок, пробовал последние версии стабильной и > майнлайн ветки. > Кто-то подскажет куда копать? > > -- > Best regards, > Maxim Bashtovoy > www.sho0ter.com > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru -- With best regards, Dmitriy Lyalyuev https://lyalyuev.info ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From mail на sho0ter.com Thu Jan 18 10:31:14 2018 From: mail на sho0ter.com (Maxim Bashtovoy) Date: Thu, 18 Jan 2018 12:31:14 +0200 Subject: Windows SSL Error In-Reply-To: References: Message-ID: Пути к файлам и права проверил, все с ними нормально (пробовал и полный и относительный путь. При попытке прописать заведома неправильный путь пишет: 2018/01/18 12:17:07 [emerg] 4076#4236: BIO_new_file("C:\Users\Sho0ter\Web\nginx/conf/crt.false.crt") failed (SSL: error:02001015:system library:fopen:Is a directory:fopen('e:\nginx\nginx\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/openssl.cnf','rb') error:2006D002:BIO routines:BIO_new_file:system lib error:0E078002:configuration file routines:DEF_LOAD:system lib error:02001002:system library:fopen:No such file or directory:fopen('C:\Users\Sho0ter\Web\nginx/conf/crt.false.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file) А когда путь правильный: 2018/01/18 12:19:09 [emerg] 3628#1320: PEM_read_bio_X509_AUX("C:\Users\Sho0ter\Web\nginx/conf/crt.crt") failed (SSL: error:02001015:system library:fopen:Is a directory:fopen('e:\nginx\nginx\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/openssl.cnf','rb') error:2006D002:BIO routines:BIO_new_file:system lib error:0E078002:configuration file routines:DEF_LOAD:system lib error:0906D06C:PEM routines:PEM_read_bio:no start line) Сертефикат самоподписанный. Конфиг:         listen 443 http2 ssl;         server_name some.app;         ssl_protocols TLSv1 TLSv1.1 TLSv1.2;         ssl_certificate crt.crt;         ssl_certificate_key key.key;         ssl_dhparam dhparam.pem;         ssl_prefer_server_ciphers on;         ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:RSA+3DES:!NULL:!RC4;         ssl_ecdh_curve prime256v1;         ssl_session_cache shared:SSL:10m;         ssl_session_tickets off;         resolver 8.8.8.8 8.8.4.4 valid=300s;         resolver_timeout 5s; 18.01.2018 12:06, Dmitriy Lyalyuev пишет: > Ошибка явно говорит, что не может прочитать файл: > > Unknown error:fopen('C:\Users\Sho0ter\Web > ginx\conf\crt.crt','r') > > Проверьте пути в конфигах, а лучше перепишите их. > > 2018-01-18 11:21 GMT+02:00 Maxim Bashtovoy >: > > Всем доброго времени суток! > > При попытке запустить nginx под виндой с SSL конфигурацией получаю: > > 2018/01/18 11:16:41 [emerg] 2644#5580: > BIO_new_file("C:\Users\Sho0ter\Web > ginx\conf\crt.crt") failed (SSL: error:02001015:system > library:fopen:Is a > directory:fopen('e:\nginx\nginx-stable\objs.msvc8\lib\openssl-1.0.2l/openssl/ssl/openssl.cnf','rb') > error:2006D002:BIO routines:BIO_new_file:system lib > error:0E078002:configuration file routines:DEF_LOAD:system lib > error:0200107B:system library:fopen:Unknown > error:fopen('C:\Users\Sho0ter\Web > ginx\conf\crt.crt','r') error:2006D002:BIO > routines:BIO_new_file:system lib) > > С правами доступа к файлам все ок, пробовал последние версии > стабильной и майнлайн ветки. > Кто-то подскажет куда копать? > > -- > Best regards, > Maxim Bashtovoy > www.sho0ter.com > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru > > > > > > -- > With best regards, > Dmitriy Lyalyuev > https://lyalyuev.info > > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru -- Best regards, Maxim Bashtovoy www.sho0ter.com ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From dmitriy на lyalyuev.info Thu Jan 18 10:34:15 2018 From: dmitriy на lyalyuev.info (Dmitriy Lyalyuev) Date: Thu, 18 Jan 2018 12:34:15 +0200 Subject: Windows SSL Error In-Reply-To: References: Message-ID: Меня смущает вот тот перенос строки. У вас мог закрасться какой-то странный символ в строку конфига. 2018-01-18 12:31 GMT+02:00 Maxim Bashtovoy : > Пути к файлам и права проверил, все с ними нормально (пробовал и полный и > относительный путь. > > При попытке прописать заведома неправильный путь пишет: > 2018/01/18 12:17:07 [emerg] 4076#4236: BIO_new_file("C:\Users\ > Sho0ter\Web\nginx/conf/crt.false.crt") failed (SSL: error:02001015:system > library:fopen:Is a directory:fopen('e:\nginx\nginx\objs.msvc8\lib\openssl- > 1.0.2n/openssl/ssl/openssl.cnf','rb') error:2006D002:BIO routines:BIO_new_ > file:system lib error:0E078002:configuration file > routines:DEF_LOAD:system lib error:02001002:system library:fopen:No such > file or directory:fopen('C:\Users\Sho0ter\Web\nginx/conf/crt. > false.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file) > > А когда путь правильный: > 2018/01/18 12:19:09 [emerg] 3628#1320: PEM_read_bio_X509_AUX("C:\ > Users\Sho0ter\Web\nginx/conf/crt.crt") failed (SSL: error:02001015:system > library:fopen:Is a directory:fopen('e:\nginx\nginx\objs.msvc8\lib\openssl- > 1.0.2n/openssl/ssl/openssl.cnf','rb') error:2006D002:BIO routines:BIO_new_ > file:system lib error:0E078002:configuration file > routines:DEF_LOAD:system lib error:0906D06C:PEM routines:PEM_read_bio:no > start line) > > Сертефикат самоподписанный. > Конфиг: > > listen 443 http2 ssl; > server_name some.app; > > ssl_protocols TLSv1 TLSv1.1 TLSv1.2; > ssl_certificate crt.crt; > ssl_certificate_key key.key; > ssl_dhparam dhparam.pem; > ssl_prefer_server_ciphers on; > ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:RSA+3DES:!NULL:!RC4; > ssl_ecdh_curve prime256v1; > ssl_session_cache shared:SSL:10m; > ssl_session_tickets off; > resolver 8.8.8.8 8.8.4.4 valid=300s; > resolver_timeout 5s; > > > 18.01.2018 12:06, Dmitriy Lyalyuev пишет: > > Ошибка явно говорит, что не может прочитать файл: > > Unknown error:fopen('C:\Users\Sho0ter\Web > ginx\conf\crt.crt','r') > > Проверьте пути в конфигах, а лучше перепишите их. > > 2018-01-18 11:21 GMT+02:00 Maxim Bashtovoy : > >> Всем доброго времени суток! >> >> При попытке запустить nginx под виндой с SSL конфигурацией получаю: >> >> 2018/01/18 11:16:41 [emerg] 2644#5580: BIO_new_file("C:\Users\Sho0ter\Web >> ginx\conf\crt.crt") failed (SSL: error:02001015:system library:fopen:Is a >> directory:fopen('e:\nginx\nginx-stable\objs.msvc8\lib\openss >> l-1.0.2l/openssl/ssl/openssl.cnf','rb') error:2006D002:BIO >> routines:BIO_new_file:system lib error:0E078002:configuration file >> routines:DEF_LOAD:system lib error:0200107B:system library:fopen:Unknown >> error:fopen('C:\Users\Sho0ter\Web >> ginx\conf\crt.crt','r') error:2006D002:BIO routines:BIO_new_file:system >> lib) >> >> С правами доступа к файлам все ок, пробовал последние версии стабильной и >> майнлайн ветки. >> Кто-то подскажет куда копать? >> >> -- >> Best regards, >> Maxim Bashtovoy >> www.sho0ter.com >> >> _______________________________________________ >> nginx-ru mailing list >> nginx-ru на nginx.org >> http://mailman.nginx.org/mailman/listinfo/nginx-ru > > > > > -- > With best regards, > Dmitriy Lyalyuev > https://lyalyuev.info > > > _______________________________________________ > nginx-ru mailing listnginx-ru на nginx.orghttp://mailman.nginx.org/mailman/listinfo/nginx-ru > > > -- > Best regards, > Maxim Bashtovoywww.sho0ter.com > > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru > -- With best regards, Dmitriy Lyalyuev https://lyalyuev.info ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From dmitriy на lyalyuev.info Thu Jan 18 10:34:50 2018 From: dmitriy на lyalyuev.info (Dmitriy Lyalyuev) Date: Thu, 18 Jan 2018 12:34:50 +0200 Subject: Windows SSL Error In-Reply-To: References: Message-ID: Попробуйте положить сертификат в корень диска и прописать полный путь к нему. 2018-01-18 12:34 GMT+02:00 Dmitriy Lyalyuev : > Меня смущает вот тот перенос строки. У вас мог закрасться какой-то > странный символ в строку конфига. > > 2018-01-18 12:31 GMT+02:00 Maxim Bashtovoy : > >> Пути к файлам и права проверил, все с ними нормально (пробовал и полный и >> относительный путь. >> >> При попытке прописать заведома неправильный путь пишет: >> 2018/01/18 12:17:07 [emerg] 4076#4236: BIO_new_file("C:\Users\Sho0ter >> \Web\nginx/conf/crt.false.crt") failed (SSL: error:02001015:system >> library:fopen:Is a directory:fopen('e:\nginx\ngin >> x\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/openssl.cnf','rb') >> error:2006D002:BIO routines:BIO_new_file:system lib >> error:0E078002:configuration file routines:DEF_LOAD:system lib >> error:02001002:system library:fopen:No such file or >> directory:fopen('C:\Users\Sho0ter\Web\nginx/conf/crt.false.crt','r') >> error:2006D080:BIO routines:BIO_new_file:no such file) >> >> А когда путь правильный: >> 2018/01/18 12:19:09 [emerg] 3628#1320: PEM_read_bio_X509_AUX("C:\User >> s\Sho0ter\Web\nginx/conf/crt.crt") failed (SSL: error:02001015:system >> library:fopen:Is a directory:fopen('e:\nginx\ngin >> x\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/openssl.cnf','rb') >> error:2006D002:BIO routines:BIO_new_file:system lib >> error:0E078002:configuration file routines:DEF_LOAD:system lib >> error:0906D06C:PEM routines:PEM_read_bio:no start line) >> >> Сертефикат самоподписанный. >> Конфиг: >> >> listen 443 http2 ssl; >> server_name some.app; >> >> ssl_protocols TLSv1 TLSv1.1 TLSv1.2; >> ssl_certificate crt.crt; >> ssl_certificate_key key.key; >> ssl_dhparam dhparam.pem; >> ssl_prefer_server_ciphers on; >> ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:RSA+3DES:!NULL:!RC4; >> ssl_ecdh_curve prime256v1; >> ssl_session_cache shared:SSL:10m; >> ssl_session_tickets off; >> resolver 8.8.8.8 8.8.4.4 valid=300s; >> resolver_timeout 5s; >> >> >> 18.01.2018 12:06, Dmitriy Lyalyuev пишет: >> >> Ошибка явно говорит, что не может прочитать файл: >> >> Unknown error:fopen('C:\Users\Sho0ter\Web >> ginx\conf\crt.crt','r') >> >> Проверьте пути в конфигах, а лучше перепишите их. >> >> 2018-01-18 11:21 GMT+02:00 Maxim Bashtovoy : >> >>> Всем доброго времени суток! >>> >>> При попытке запустить nginx под виндой с SSL конфигурацией получаю: >>> >>> 2018/01/18 11:16:41 [emerg] 2644#5580: BIO_new_file("C:\Users\Sho0ter >>> \Web >>> ginx\conf\crt.crt") failed (SSL: error:02001015:system library:fopen:Is >>> a directory:fopen('e:\nginx\nginx-stable\objs.msvc8\lib\openss >>> l-1.0.2l/openssl/ssl/openssl.cnf','rb') error:2006D002:BIO >>> routines:BIO_new_file:system lib error:0E078002:configuration file >>> routines:DEF_LOAD:system lib error:0200107B:system library:fopen:Unknown >>> error:fopen('C:\Users\Sho0ter\Web >>> ginx\conf\crt.crt','r') error:2006D002:BIO routines:BIO_new_file:system >>> lib) >>> >>> С правами доступа к файлам все ок, пробовал последние версии стабильной >>> и майнлайн ветки. >>> Кто-то подскажет куда копать? >>> >>> -- >>> Best regards, >>> Maxim Bashtovoy >>> www.sho0ter.com >>> >>> _______________________________________________ >>> nginx-ru mailing list >>> nginx-ru на nginx.org >>> http://mailman.nginx.org/mailman/listinfo/nginx-ru >> >> >> >> >> -- >> With best regards, >> Dmitriy Lyalyuev >> https://lyalyuev.info >> >> >> _______________________________________________ >> nginx-ru mailing listnginx-ru на nginx.orghttp://mailman.nginx.org/mailman/listinfo/nginx-ru >> >> >> -- >> Best regards, >> Maxim Bashtovoywww.sho0ter.com >> >> >> _______________________________________________ >> nginx-ru mailing list >> nginx-ru на nginx.org >> http://mailman.nginx.org/mailman/listinfo/nginx-ru >> > > > > -- > With best regards, > Dmitriy Lyalyuev > https://lyalyuev.info > -- With best regards, Dmitriy Lyalyuev https://lyalyuev.info ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From bgx на protva.ru Thu Jan 18 10:37:56 2018 From: bgx на protva.ru (Evgeniy Berdnikov) Date: Thu, 18 Jan 2018 13:37:56 +0300 Subject: Windows SSL Error In-Reply-To: References: Message-ID: <20180118103756.GN27748@protva.ru> On Thu, Jan 18, 2018 at 12:31:14PM +0200, Maxim Bashtovoy wrote: > Пути к файлам и права проверил, все с ними нормально (пробовал и > полный и относительный путь. > > При попытке прописать заведома неправильный путь пишет: > 2018/01/18 12:17:07 [emerg] 4076#4236: > BIO_new_file("C:\Users\Sho0ter\Web\nginx/conf/crt.false.crt") failed > (SSL: error:02001015:system library:fopen:Is a directory:fopen('e:\nginx\nginx\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/openssl.cnf','rb') > error:2006D002:BIO routines:BIO_new_file:system lib > error:0E078002:configuration file routines:DEF_LOAD:system lib > error:02001002:system library:fopen:No such file or > directory:fopen('C:\Users\Sho0ter\Web\nginx/conf/crt.false.crt','r') > error:2006D080:BIO routines:BIO_new_file:no such file) > > А когда путь правильный: > 2018/01/18 12:19:09 [emerg] 3628#1320: > PEM_read_bio_X509_AUX("C:\Users\Sho0ter\Web\nginx/conf/crt.crt") > failed (SSL: error:02001015:system library:fopen:Is a directory:fopen('e:\nginx\nginx\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/openssl.cnf','rb') > error:2006D002:BIO routines:BIO_new_file:system lib > error:0E078002:configuration file routines:DEF_LOAD:system lib > error:0906D06C:PEM routines:PEM_read_bio:no start line) А файл e:\nginx\nginx\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/openssl.cnf проверяли? "Is a directory", т.е. EISDIR означает, что найден каталог там, где ожидался обычный файл. -- Eugene Berdnikov From alex.hha на gmail.com Thu Jan 18 10:40:41 2018 From: alex.hha на gmail.com (Alex Domoradov) Date: Thu, 18 Jan 2018 12:40:41 +0200 Subject: Windows SSL Error In-Reply-To: References: Message-ID: Я бы проверил, что ключ и сертификат совпадают $ openssl x509 -noout -modulus -in crt.crt | md5sum $ openssl rsa -noout -modulus -in key.key | md5sum md5 должна совпадать. Так же неплохо бы увидеть вывод $ openssl x509 -in crt.crt -text -noout 2018-01-18 12:34 GMT+02:00 Dmitriy Lyalyuev : > Попробуйте положить сертификат в корень диска и прописать полный путь к > нему. > > 2018-01-18 12:34 GMT+02:00 Dmitriy Lyalyuev : > >> Меня смущает вот тот перенос строки. У вас мог закрасться какой-то >> странный символ в строку конфига. >> >> 2018-01-18 12:31 GMT+02:00 Maxim Bashtovoy : >> >>> Пути к файлам и права проверил, все с ними нормально (пробовал и полный >>> и относительный путь. >>> >>> При попытке прописать заведома неправильный путь пишет: >>> 2018/01/18 12:17:07 [emerg] 4076#4236: BIO_new_file("C:\Users\Sho0ter >>> \Web\nginx/conf/crt.false.crt") failed (SSL: error:02001015:system >>> library:fopen:Is a directory:fopen('e:\nginx\ngin >>> x\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/openssl.cnf','rb') >>> error:2006D002:BIO routines:BIO_new_file:system lib >>> error:0E078002:configuration file routines:DEF_LOAD:system lib >>> error:02001002:system library:fopen:No such file or >>> directory:fopen('C:\Users\Sho0ter\Web\nginx/conf/crt.false.crt','r') >>> error:2006D080:BIO routines:BIO_new_file:no such file) >>> >>> А когда путь правильный: >>> 2018/01/18 12:19:09 [emerg] 3628#1320: PEM_read_bio_X509_AUX("C:\User >>> s\Sho0ter\Web\nginx/conf/crt.crt") failed (SSL: error:02001015:system >>> library:fopen:Is a directory:fopen('e:\nginx\ngin >>> x\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/openssl.cnf','rb') >>> error:2006D002:BIO routines:BIO_new_file:system lib >>> error:0E078002:configuration file routines:DEF_LOAD:system lib >>> error:0906D06C:PEM routines:PEM_read_bio:no start line) >>> >>> Сертефикат самоподписанный. >>> Конфиг: >>> >>> listen 443 http2 ssl; >>> server_name some.app; >>> >>> ssl_protocols TLSv1 TLSv1.1 TLSv1.2; >>> ssl_certificate crt.crt; >>> ssl_certificate_key key.key; >>> ssl_dhparam dhparam.pem; >>> ssl_prefer_server_ciphers on; >>> ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:RSA+3DES:!NULL:!RC4; >>> ssl_ecdh_curve prime256v1; >>> ssl_session_cache shared:SSL:10m; >>> ssl_session_tickets off; >>> resolver 8.8.8.8 8.8.4.4 valid=300s; >>> resolver_timeout 5s; >>> >>> >>> 18.01.2018 12:06, Dmitriy Lyalyuev пишет: >>> >>> Ошибка явно говорит, что не может прочитать файл: >>> >>> Unknown error:fopen('C:\Users\Sho0ter\Web >>> ginx\conf\crt.crt','r') >>> >>> Проверьте пути в конфигах, а лучше перепишите их. >>> >>> 2018-01-18 11:21 GMT+02:00 Maxim Bashtovoy : >>> >>>> Всем доброго времени суток! >>>> >>>> При попытке запустить nginx под виндой с SSL конфигурацией получаю: >>>> >>>> 2018/01/18 11:16:41 [emerg] 2644#5580: BIO_new_file("C:\Users\Sho0ter >>>> \Web >>>> ginx\conf\crt.crt") failed (SSL: error:02001015:system library:fopen:Is >>>> a directory:fopen('e:\nginx\nginx-stable\objs.msvc8\lib\openss >>>> l-1.0.2l/openssl/ssl/openssl.cnf','rb') error:2006D002:BIO >>>> routines:BIO_new_file:system lib error:0E078002:configuration file >>>> routines:DEF_LOAD:system lib error:0200107B:system library:fopen:Unknown >>>> error:fopen('C:\Users\Sho0ter\Web >>>> ginx\conf\crt.crt','r') error:2006D002:BIO routines:BIO_new_file:system >>>> lib) >>>> >>>> С правами доступа к файлам все ок, пробовал последние версии стабильной >>>> и майнлайн ветки. >>>> Кто-то подскажет куда копать? >>>> >>>> -- >>>> Best regards, >>>> Maxim Bashtovoy >>>> www.sho0ter.com >>>> >>>> _______________________________________________ >>>> nginx-ru mailing list >>>> nginx-ru на nginx.org >>>> http://mailman.nginx.org/mailman/listinfo/nginx-ru >>> >>> >>> >>> >>> -- >>> With best regards, >>> Dmitriy Lyalyuev >>> https://lyalyuev.info >>> >>> >>> _______________________________________________ >>> nginx-ru mailing listnginx-ru на nginx.orghttp://mailman.nginx.org/mailman/listinfo/nginx-ru >>> >>> >>> -- >>> Best regards, >>> Maxim Bashtovoywww.sho0ter.com >>> >>> >>> _______________________________________________ >>> nginx-ru mailing list >>> nginx-ru на nginx.org >>> http://mailman.nginx.org/mailman/listinfo/nginx-ru >>> >> >> >> >> -- >> With best regards, >> Dmitriy Lyalyuev >> https://lyalyuev.info >> > > > > -- > With best regards, > Dmitriy Lyalyuev > https://lyalyuev.info > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru > ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From dmitriy на lyalyuev.info Thu Jan 18 10:49:06 2018 From: dmitriy на lyalyuev.info (Dmitriy Lyalyuev) Date: Thu, 18 Jan 2018 12:49:06 +0200 Subject: Windows SSL Error In-Reply-To: <20180118103756.GN27748@protva.ru> References: <20180118103756.GN27748@protva.ru> Message-ID: Кстати, смотрю на это все и вижу пути с обратным слешем. \n - это символ переноса строки. Приведите пути к виду c:/nginx/ Т.е. слеш должен быть прямой / Возможно в этом дело. 2018-01-18 12:37 GMT+02:00 Evgeniy Berdnikov : > On Thu, Jan 18, 2018 at 12:31:14PM +0200, Maxim Bashtovoy wrote: > > Пути к файлам и права проверил, все с ними нормально (пробовал и > > полный и относительный путь. > > > > При попытке прописать заведома неправильный путь пишет: > > 2018/01/18 12:17:07 [emerg] 4076#4236: > > BIO_new_file("C:\Users\Sho0ter\Web\nginx/conf/crt.false.crt") failed > > (SSL: error:02001015:system library:fopen:Is a directory:fopen('e:\nginx\ > nginx\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/openssl.cnf','rb') > > error:2006D002:BIO routines:BIO_new_file:system lib > > error:0E078002:configuration file routines:DEF_LOAD:system lib > > error:02001002:system library:fopen:No such file or > > directory:fopen('C:\Users\Sho0ter\Web\nginx/conf/crt.false.crt','r') > > error:2006D080:BIO routines:BIO_new_file:no such file) > > > > А когда путь правильный: > > 2018/01/18 12:19:09 [emerg] 3628#1320: > > PEM_read_bio_X509_AUX("C:\Users\Sho0ter\Web\nginx/conf/crt.crt") > > failed (SSL: error:02001015:system library:fopen:Is a > directory:fopen('e:\nginx\nginx\objs.msvc8\lib\openssl- > 1.0.2n/openssl/ssl/openssl.cnf','rb') > > error:2006D002:BIO routines:BIO_new_file:system lib > > error:0E078002:configuration file routines:DEF_LOAD:system lib > > error:0906D06C:PEM routines:PEM_read_bio:no start line) > > А файл e:\nginx\nginx\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/ > openssl.cnf > проверяли? "Is a directory", т.е. EISDIR означает, что найден каталог там, > где ожидался обычный файл. > -- > Eugene Berdnikov > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru > -- With best regards, Dmitriy Lyalyuev https://lyalyuev.info ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From mdounin на mdounin.ru Thu Jan 18 13:13:30 2018 From: mdounin на mdounin.ru (Maxim Dounin) Date: Thu, 18 Jan 2018 16:13:30 +0300 Subject: Windows SSL Error In-Reply-To: References: Message-ID: <20180118131330.GC34136@mdounin.ru> Hello! On Thu, Jan 18, 2018 at 12:31:14PM +0200, Maxim Bashtovoy wrote: > Пути к файлам и права проверил, все с ними нормально (пробовал и полный > и относительный путь. > > При попытке прописать заведома неправильный путь пишет: > 2018/01/18 12:17:07 [emerg] 4076#4236: > BIO_new_file("C:\Users\Sho0ter\Web\nginx/conf/crt.false.crt") failed > (SSL: error:02001015:system library:fopen:Is a > directory:fopen('e:\nginx\nginx\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/openssl.cnf','rb') > error:2006D002:BIO routines:BIO_new_file:system lib > error:0E078002:configuration file routines:DEF_LOAD:system lib > error:02001002:system library:fopen:No such file or > directory:fopen('C:\Users\Sho0ter\Web\nginx/conf/crt.false.crt','r') > error:2006D080:BIO routines:BIO_new_file:no such file) > > А когда путь правильный: > 2018/01/18 12:19:09 [emerg] 3628#1320: > PEM_read_bio_X509_AUX("C:\Users\Sho0ter\Web\nginx/conf/crt.crt") failed > (SSL: error:02001015:system library:fopen:Is a > directory:fopen('e:\nginx\nginx\objs.msvc8\lib\openssl-1.0.2n/openssl/ssl/openssl.cnf','rb') > error:2006D002:BIO routines:BIO_new_file:system lib > error:0E078002:configuration file routines:DEF_LOAD:system lib > error:0906D06C:PEM routines:PEM_read_bio:no start line) > > Сертефикат самоподписанный. Судя по "PEM_read_bio:no start line" - в сертификате мусор. Такое довольно часто бывает, если сертификат трогают слишком умными редакторами, и там помимо собственно текста сертификата образуется unicode byte order mark. -- Maxim Dounin http://mdounin.ru/ From simplebox66 на gmail.com Mon Jan 22 09:39:38 2018 From: simplebox66 на gmail.com (=?UTF-8?B?0JjQstCw0L0g0JzQuNGI0LjQvQ==?=) Date: Mon, 22 Jan 2018 12:39:38 +0300 Subject: =?UTF-8?B?UmU6INCU0L7Qu9C4INGB0LXQutGD0L3QtCDQsiDQu9C+0LPQsNGF?= In-Reply-To: <8791a895-2627-9c40-05b4-2d76cc7369c4@remizov.org> References: <8305e62c-7bc4-4893-020b-89b75a2c28da@csdoc.com> <2828861.GUx0fxQzrD@note> <8791a895-2627-9c40-05b4-2d76cc7369c4@remizov.org> Message-ID: > > Берите $msec и в logstash прогоняйте через фильтр date с форматом UNIX_MS > Ошибся, не UNIX_MS, а просто UNIX. Спасибо, помогло! получил миллисекунды как хотел. 18 января 2018 г., 13:05 пользователь Alexey Remizov написал: > On 18.01.2018 13:03, Alexey Remizov wrote: > > On 18.01.2018 12:54, Иван Мишин wrote: > > > >> я логи обрабатываю с помощью logstash и складываю в elastic, а затем > >> просматриваю их с помощью kibana. > >> Мне важно получить в кибане юзерфрендли временную метку с миллисекундами > > > > Берите $msec и в logstash прогоняйте через фильтр date с форматом UNIX_MS > > Ошибся, не UNIX_MS, а просто UNIX. > > -- > С уважением. WBR. > Алексей. Alexey. > > mailto:alexey на remizov.org > jabber:remizov на jabber.ru > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru > ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From ano на bestmx.net Tue Jan 23 07:19:56 2018 From: ano на bestmx.net (Andrey Oktyabrskiy) Date: Tue, 23 Jan 2018 10:19:56 +0300 Subject: =?UTF-8?B?YWRkX2hlYWRlciDQuCA00YXRhQ==?= Message-ID: Добрый день. Чем обусловлено ограничение "Добавляет указанное поле в заголовок ответа при условии, что код ответа равен 200, 201 (1.3.10), 204, 206, 301, 302, 303, 304, 307 (1.1.16, 1.0.13) или 308 (1.13.0)"? Понадобилось добавить заголовок после того, как fastcgi вернул 401. From dmitriy на lyalyuev.info Tue Jan 23 07:36:38 2018 From: dmitriy на lyalyuev.info (Dmitriy Lyalyuev) Date: Tue, 23 Jan 2018 09:36:38 +0200 Subject: =?UTF-8?B?UmU6IGFkZF9oZWFkZXIg0LggNNGF0YU=?= In-Reply-To: References: Message-ID: Syntax: *add_header* *name* *value* [always]; If the always parameter is specified (1.7.5), the header field will be added regardless of the response code. 2018-01-23 9:19 GMT+02:00 Andrey Oktyabrskiy : > Добрый день. > > Чем обусловлено ограничение "Добавляет указанное поле в заголовок ответа > при условии, что код ответа равен 200, 201 (1.3.10), 204, 206, 301, 302, > 303, 304, 307 (1.1.16, 1.0.13) или 308 (1.13.0)"? > > Понадобилось добавить заголовок после того, как fastcgi вернул 401. > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru -- With best regards, Dmitriy Lyalyuev https://lyalyuev.info ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From ano на bestmx.net Tue Jan 23 07:49:35 2018 From: ano на bestmx.net (Andrey Oktyabrskiy) Date: Tue, 23 Jan 2018 10:49:35 +0300 Subject: =?UTF-8?B?UmU6IGFkZF9oZWFkZXIg0LggNNGF0YU=?= In-Reply-To: References: Message-ID: <2d49c4aa-fa87-d8b3-be16-404e12b14c75@bestmx.net> On 23.01.2018 10:36, Dmitriy Lyalyuev wrote: > Syntax: |*add_header* |/name/| |/value/| [|always|]; > > If the |always| parameter is specified (1.7.5), the header field will be > added regardless of the response code. Спасибо. Не проснулся, видать... :-) From nginx-forum на forum.nginx.org Wed Jan 24 13:24:25 2018 From: nginx-forum на forum.nginx.org (Rusrich) Date: Wed, 24 Jan 2018 08:24:25 -0500 Subject: NGINX PLUS + MP4 to HLS (m3u8) Message-ID: <864d139a87df1045f34ad0ea69800f2a.NginxMailingListRussian@forum.nginx.org> Файловое хранилище содержит mp4 файлы. Просмотр видеоконтента осуществляется с помощью html5 плеера версии Flowplayer. Подскажите, как правильно настроить nginx, чтобы формировался плейлист m3u8 для каждого mp4 файла. Файлы находятся в директории site.ru/tv/media/ Ссылка на видеофайл site.ru/tv/media/example.mp4 Исходя из источника http://nginx.org/ru/docs/http/ngx_http_hls_module.html прописываю это: location ~ ^/tv/media/.+\.mp4$ { hls; hls_fragment 5s; hls_buffers 10 10m; hls_mp4_buffer_size 1m; hls_mp4_max_buffer_size 5m; root /var/www/; } По инструкции из источника при включенном HLS плейлист m3u8 формируется там же по ссылке site.ru/tv/media/example.mp4.m3u8. Однако плеер такую ссылку не видит. Прошу подскажите решение или куда копать. Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278258,278258#msg-278258 From mdounin на mdounin.ru Wed Jan 24 14:09:20 2018 From: mdounin на mdounin.ru (Maxim Dounin) Date: Wed, 24 Jan 2018 17:09:20 +0300 Subject: NGINX PLUS + MP4 to HLS (m3u8) In-Reply-To: <864d139a87df1045f34ad0ea69800f2a.NginxMailingListRussian@forum.nginx.org> References: <864d139a87df1045f34ad0ea69800f2a.NginxMailingListRussian@forum.nginx.org> Message-ID: <20180124140920.GJ34136@mdounin.ru> Hello! On Wed, Jan 24, 2018 at 08:24:25AM -0500, Rusrich wrote: > Файловое хранилище содержит mp4 файлы. > Просмотр видеоконтента осуществляется с помощью html5 плеера версии > Flowplayer. > > Подскажите, как правильно настроить nginx, чтобы формировался плейлист m3u8 > для каждого mp4 файла. > > Файлы находятся в директории site.ru/tv/media/ > Ссылка на видеофайл site.ru/tv/media/example.mp4 > > Исходя из источника http://nginx.org/ru/docs/http/ngx_http_hls_module.html > прописываю это: > > location ~ ^/tv/media/.+\.mp4$ { > hls; > hls_fragment 5s; > hls_buffers 10 10m; > hls_mp4_buffer_size 1m; > hls_mp4_max_buffer_size 5m; > root /var/www/; > } > > По инструкции из источника при включенном HLS плейлист m3u8 формируется там > же по ссылке site.ru/tv/media/example.mp4.m3u8. > > Однако плеер такую ссылку не видит. У вас в location регулярное выражение, и написано ".mp4$", то есть запрос к /tv/media/example.mp4.m3u8 в этот location не попадёт. Чтобы работало, проще всего - сделать префиксный location: location /tv/media/ { ... } Либо же переписать регулярное выражение, чтобы в location попадали запросы к *.mp4.m3u8 и *.mp4.ts. (Отмечу в скобках, что вопросы про NGINX Plus лучше задавать в техподдержку, plus-support на nginx.com.) -- Maxim Dounin http://mdounin.ru/ From nginx-forum на forum.nginx.org Wed Jan 24 14:24:21 2018 From: nginx-forum на forum.nginx.org (Rusrich) Date: Wed, 24 Jan 2018 09:24:21 -0500 Subject: NGINX PLUS + MP4 to HLS (m3u8) In-Reply-To: <20180124140920.GJ34136@mdounin.ru> References: <20180124140920.GJ34136@mdounin.ru> Message-ID: Максим, спасибо огромное. Выручили сильно. Заработало. Правда плеер не обрабатывает почему-то, но буду разбираться. С уважением. Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278258,278262#msg-278262 From coddoc на mail.ru Fri Jan 26 10:16:22 2018 From: coddoc на mail.ru (=?UTF-8?B?Q29ERG9D?=) Date: Fri, 26 Jan 2018 13:16:22 +0300 Subject: =?UTF-8?B?0J3QtdC/0L7QvdGP0YLQvdC+0LUg0LrQvtC70LjRh9C10YHRgtCy0L4g0LLQvtGA?= =?UTF-8?B?0LrQtdGA0L7Qsg==?= Message-ID: <1516961782.479661256@f480.i.mail.ru> Доброго времени суток! nginx/1.13.8 Тестовый сервер, 2 ядра. В конфиге 'worker_processes auto' или 'worker_processes 2' - без разницы pstree дает такую картину: nginx───2*[nginx───32*[{nginx}]] 32 воркера на каждый из двух Куда копать? -- ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From pixselgts на gmail.com Fri Jan 26 11:23:08 2018 From: pixselgts на gmail.com (=?UTF-8?B?0JDRgNGC0ZHQvCBWWg==?=) Date: Fri, 26 Jan 2018 16:23:08 +0500 Subject: help Message-ID: Всем привет ! Из оф. документации ( http://nginx.org/en/docs/http/load_balancing.html) не всё понял по балансировке. А именно, можно ли применять при балансировке одновременно minimum_conn; и ip_hash; будут ли одновременно работать и как правильно прописать ? upstream myapp1 { *minimum_conn; ip_hash;* сервер srv1.example.com; сервер srv2.example.com; сервер srv3.example.com; } Вот так если всё пропишу как в примере выше, то всё будет работать или что да как можно\нужно ? Буду признателен за ответ, спасибо ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From pixselgts на gmail.com Fri Jan 26 11:27:06 2018 From: pixselgts на gmail.com (=?UTF-8?B?0JDRgNGC0ZHQvCBWWg==?=) Date: Fri, 26 Jan 2018 16:27:06 +0500 Subject: help In-Reply-To: References: Message-ID: Очепятка, *minimum_conn;* считать как *least_conn;* 26 января 2018 г., 16:23 пользователь Артём VZ написал: > Всем привет ! Из оф. документации (http://nginx.org/en/docs/ > http/load_balancing.html) не всё понял по балансировке. А именно, можно > ли применять при балансировке одновременно minimum_conn; и ip_hash; будут > ли одновременно работать и как правильно прописать ? > > upstream myapp1 { > > *minimum_conn; ip_hash;* > сервер srv1.example.com; > сервер srv2.example.com; > сервер srv3.example.com; > } > > > Вот так если всё пропишу как в примере выше, то всё будет работать или что > да как можно\нужно ? > > Буду признателен за ответ, спасибо > ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From pixselgts на gmail.com Fri Jan 26 11:33:15 2018 From: pixselgts на gmail.com (=?UTF-8?B?0JDRgNGC0ZHQvCBWWg==?=) Date: Fri, 26 Jan 2018 16:33:15 +0500 Subject: help In-Reply-To: References: Message-ID: Тобишь вот так правильно. Можно ли применять при балансировке одновременно least_conn; и ip_hash; будут ли одновременно работать и как правильно прописать ? Вот так если всё пропишу как в примере ниже, то всё будет работать или что да как можно\нужно ? upstream myapp1 { *least_conn;* * ip_hash;* сервер srv1.example.com; сервер srv2.example.com; сервер srv3.example.com; } 26 января 2018 г., 16:27 пользователь Артём VZ написал: > Очепятка, *minimum_conn;* считать как *least_conn;* > > 26 января 2018 г., 16:23 пользователь Артём VZ > написал: > > Всем привет ! Из оф. документации (http://nginx.org/en/docs/http >> /load_balancing.html) не всё понял по балансировке. А именно, можно ли >> применять при балансировке одновременно minimum_conn; и ip_hash; будут >> ли одновременно работать и как правильно прописать ? >> >> upstream myapp1 { >> >> *minimum_conn; ip_hash;* >> сервер srv1.example.com; >> сервер srv2.example.com; >> сервер srv3.example.com; >> } >> >> >> Вот так если всё пропишу как в примере выше, то всё будет работать или >> что да как можно\нужно ? >> >> Буду признателен за ответ, спасибо >> > > ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From alex на vorona.com.ua Fri Jan 26 16:42:44 2018 From: alex на vorona.com.ua (Alex Vorona) Date: Fri, 26 Jan 2018 18:42:44 +0200 Subject: =?UTF-8?B?UmU6INCd0LXQv9C+0L3Rj9GC0L3QvtC1INC60L7Qu9C40YfQtdGB0YLQstC+INCy?= =?UTF-8?B?0L7RgNC60LXRgNC+0LI=?= In-Reply-To: <1516961782.479661256@f480.i.mail.ru> References: <1516961782.479661256@f480.i.mail.ru> Message-ID: <6a653e6a-a655-a235-e43e-fb2c2e58e753@vorona.com.ua> Hello, 26.01.18 12:16, CoDDoC wrote: [...] > > pstree дает такую картину: > > nginx───2*[nginx───32*[{nginx}]] > > 32 воркера на каждый из двух > > Куда копать? http://nginx.org/en/docs/ngx_core_module.html#thread_pool -- Alex Vorona From nginx-forum на forum.nginx.org Tue Jan 30 09:20:02 2018 From: nginx-forum на forum.nginx.org (igor.korotkov) Date: Tue, 30 Jan 2018 04:20:02 -0500 Subject: =?UTF-8?B?0J3QtSDQv9C+0LvRg9GH0LDQtdGC0YHRjyDQt9Cw0LPRgNGD0LfQuNGC0Ywg0YQ=?= =?UTF-8?B?0LDQudC70Ysg0L3QsCDRgdC10YDQstC10YA=?= Message-ID: Добрый день коллеги! Не пинайте сильно, но второго дня уже бьюсь головой о консоль, да всё не могу решить проблему такого рода: nginx version: nginx/1.12.2 На сайте требуется подгружать изображения, имеется код для отправки: Часть кода отправки: -----------------------------
... ... $('form#addNewProduction').validate({ submitHandler: function(form) { var formData = new FormData(form); for(var id in queue) { formData.append('productionImages[]', queue[id]); }; $.ajax({ url: '/api', type: 'POST', data: formData, dataType: 'JSON', contentType: false, async: false, error: function(msg) { alert('Ошибка при создании новой позиции'); }, success: function(res) { alert('Новая позиция успешно создана.'); }, cache: false, processData: false }); return false; //form.submit(); } }); ... Дело заканчивается ошибкой от сервера #400 Кусок лога Nginx в момент ошибки: ------------------------------------------------- 2018/01/30 12:13:40 [debug] 10177#0: *3577 posix_memalign: 0000561866A664C0:4096 @16 2018/01/30 12:13:40 [info] 10177#0: *3577 client prematurely closed stream: only 1057 out of 68754 bytes of request body received, client: 192.168.1.100, server: sht.tdab.ru, request: "POST /api HTTP/2.0", host: "sht.tdab.ru", referrer: "https://sht.tdab.ru/rulers/" 2018/01/30 12:13:40 [debug] 10177#0: *3577 http finalize request: 400, "/shtapi.php?api" a:1, c:1 2018/01/30 12:13:40 [debug] 10177#0: *3577 http special response: 400, "/shtapi.php?api" Подскажите как поправить, сил моих уже нет... Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278292,278292#msg-278292 From nginx-forum на forum.nginx.org Tue Jan 30 10:02:59 2018 From: nginx-forum на forum.nginx.org (imsystem) Date: Tue, 30 Jan 2018 05:02:59 -0500 Subject: =?UTF-8?B?UmU6INCd0LUg0L/QvtC70YPRh9Cw0LXRgtGB0Y8g0LfQsNCz0YDRg9C30LjRgtGM?= =?UTF-8?B?INGE0LDQudC70Ysg0L3QsCDRgdC10YDQstC10YA=?= In-Reply-To: References: Message-ID: igor.korotkov Wrote: ------------------------------------------------------- > 2018/01/30 12:13:40 [info] 10177#0: *3577 client prematurely closed > stream: only 1057 out of 68754 bytes of request body received, client: Не в этом ли закралась ошибка: https://nginx.ru/ru/docs/http/ngx_http_core_module.html#client_max_body_size А так, без конфига nginx, сложно судить Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278292,278293#msg-278293 From nginx-forum на forum.nginx.org Tue Jan 30 10:23:03 2018 From: nginx-forum на forum.nginx.org (igor.korotkov) Date: Tue, 30 Jan 2018 05:23:03 -0500 Subject: =?UTF-8?B?UmU6INCd0LUg0L/QvtC70YPRh9Cw0LXRgtGB0Y8g0LfQsNCz0YDRg9C30LjRgtGM?= =?UTF-8?B?INGE0LDQudC70Ysg0L3QsCDRgdC10YDQstC10YA=?= In-Reply-To: References: Message-ID: Нет, с размером там всё в порядке, 100м стоит. Загружаемые файлы значительно меньше. P.S. в форме ранее пропущено - enctype="multipart/form-data" myserver.conf ------------------- server { listen 80; server_name myserver.ru www.myserver.ru; return 301 https://myserver.ru$request_uri; } server { listen 443 ssl http2; server_name myserver.ru; access_log /var/log/nginx/myserver.ru.access.log main; error_log /var/log/nginx/myserver.ru.error.log debug; location '/.well-known/acme-challenge' { default_type "text/plain"; root /tmp/letsencrypt-auto; } ssl on; ssl_session_cache shared:SSL:2m; ssl_stapling on; ssl_stapling_verify on; resolver_timeout 10s; ssl_certificate /etc/letsencrypt/live/myserver.ru/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/myserver.ru/privkey.pem; include /etc/letsencrypt/options-ssl-nginx.conf; ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; root /var/www/html/myserver.ru/; index index.php; charset utf-8; location / { root /var/www/html/myserver.ru; if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?$1 last; } } location /rulers/ { root /var/www/html/myserver.ru; if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?action=manager&$1 last; } } location /api { root /var/www/html/myserver.ru; if (!-e $request_filename) { rewrite ^/(.*)$ /sttapi.php?$1 last; } } location /api2 { try_files $uri $uri/ /sttapi.php; } location ~ \.php$ { root /var/www/html/myserver.ru/; fastcgi_pass unix:/var/run/php-fpm/myserver.ru.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } } nginx.conf -------------- user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; include /usr/share/nginx/modules/*.conf; events { worker_connections 1024; } http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; send_timeout 60; types_hash_max_size 2048; client_max_body_size 100m; index index.php index.html; default_type application/octet-stream; gzip on; gzip_disable "msie6"; gzip_vary on; gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml appliction/xml+rss text/javascript; include /etc/nginx/conf.d/*.conf; include /etc/nginx/mime.types; } Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278292,278294#msg-278294 From nginx-forum на forum.nginx.org Wed Jan 31 07:32:24 2018 From: nginx-forum на forum.nginx.org (Dmytro Lavryk) Date: Wed, 31 Jan 2018 02:32:24 -0500 Subject: =?UTF-8?B?aW1hZ2UgZmlsdGVyINC90LUg0L/QvtC00LrQu9GO0YfQsNC10YLRgdGPPw==?= Message-ID: <9527c01241357c0c08f6a469f32a124b.NginxMailingListRussian@forum.nginx.org> Странности. В документации ничего не нашел интересного (плохо искал?) имеем sc.conf.inc: location ~* \.(asf|asx|wax|wmv|wmx|avi|class|divx|doc|docx|eot|exe|gz|gzip|ico|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip|cur|map|css|js|bmp|gif|jpg|jpeg|png|less|txt|asp)$ { image_filter_interlace on; image_filter_jpeg_quality 70; expires 31536000s; add_header Pragma "public"; add_header Cache-Control "max-age=31536000, public"; try_files $uri =404; } nginx собран с модулем: nginx -V nginx version: nginx/1.12.2 built with OpenSSL 1.0.2n 7 Dec 2017 TLS SNI support enabled configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --user=www --group=www --modules-path=/usr/local/libexec/nginx --with-file-aio --with-cc-opt='-DNGX_HAVE_INET6=0 -I /usr/local/include' --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-scgi-temp-path=/var/tmp/nginx/scgi_temp --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp --http-log-path=/var/log/nginx/access.log --with-http_addition_module --with-http_auth_request_module --with-http_gzip_static_module --with-http_gunzip_module --with-http_image_filter_module=dynamic --with-http_realip_module --with-http_stub_status_module --with-http_sub_module --with-pcre --with-http_v2_module --with-stream=dynamic --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads --with-http_ssl_module при этом: nginx -t nginx: [emerg] unknown directive "image_filter_interlace" in /usr/local/etc/nginx/sc.conf.inc:5 nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278302,278302#msg-278302 From nginx-forum на forum.nginx.org Wed Jan 31 07:47:35 2018 From: nginx-forum на forum.nginx.org (Dmytro Lavryk) Date: Wed, 31 Jan 2018 02:47:35 -0500 Subject: =?UTF-8?B?UmU6IGltYWdlIGZpbHRlciDQvdC1INC/0L7QtNC60LvRjtGH0LDQtdGC0YHRjz8=?= In-Reply-To: <9527c01241357c0c08f6a469f32a124b.NginxMailingListRussian@forum.nginx.org> References: <9527c01241357c0c08f6a469f32a124b.NginxMailingListRussian@forum.nginx.org> Message-ID: <83549b2bcf9da8607af50362bf57a42f.NginxMailingListRussian@forum.nginx.org> Извините, разобрался. Модуль собрался динамически потому нужен был load_module еще. Правда что-то не вижу чтоб он отрабатывал :( Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278302,278303#msg-278303 From kozlow на texterra.ru Wed Jan 31 08:39:58 2018 From: kozlow на texterra.ru (kozlow на texterra.ru) Date: Wed, 31 Jan 2018 11:39:58 +0300 Subject: =?UTF-8?B?0J7RgtCx0YDQsNCx0L7RgtC60LAg0LrQvtC80LDQvdC0INCyINGE0LDQudC70LUg?= =?UTF-8?B?aHRhY2Nlc3M=?= Message-ID: <363771517387998@web34g.yandex.ru> Вложение в формате HTML было извлечено… URL: From dmitriy на lyalyuev.info Wed Jan 31 08:42:30 2018 From: dmitriy на lyalyuev.info (Dmitriy Lyalyuev) Date: Wed, 31 Jan 2018 10:42:30 +0200 Subject: =?UTF-8?B?UmU6INCe0YLQsdGA0LDQsdC+0YLQutCwINC60L7QvNCw0L3QtCDQsiDRhNCw0Lk=?= =?UTF-8?B?0LvQtSBodGFjY2Vzcw==?= In-Reply-To: <363771517387998@web34g.yandex.ru> References: <363771517387998@web34g.yandex.ru> Message-ID: Для начала необходимо понять, что Nginx и htaccess никак не связаны от слова совсем. htaccess - это прерогатива Apache. Когда это усвоено, стоит пойти и почитать документацию по Nginx и переписать правила htaccess в конфиг Nginx. 2018-01-31 10:39 GMT+02:00 : > Вас беспокоит интернет-агенство Texterra, мы оказываем услуги интернет > маркетинга для одного из клиентов вашего веб-сервера- https://proivf.ru/. > В ходе работы у нас возникла проблема с настройкой перенаправлений в файле > htaccess, из-за того что клиент является пользователем вашего веб-сервера, > то что мы прописываем в htaccess не отрабатывается. В частности нам > необходимо настроить редиректы со страницы "без /" на страницы "с /" для > элементов разделов. > Подскажите как нам решить эту проблему? > > -- > С уважением, > Даниил Козлов, > Project-менеджер > Phone: +7 9096761189 <+7%20909%20676-11-89> > > Читайте наш блог . > ------------------------- > Хотите дать обратную связь по качеству нашей работы? > Обращайтесь к руководителю отдела контроля качества — Елизавете Язиной: > phone: +7 909 943 24 81 <+7%20909%20943-24-81> > yazina на texterra.ru > > > _______________________________________________ > nginx-ru mailing list > nginx-ru на nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru > -- With best regards, Dmitriy Lyalyuev https://lyalyuev.info ----------- следущая часть ----------- Вложение в формате HTML было извлечено… URL: From vbart на nginx.com Wed Jan 31 09:31:37 2018 From: vbart на nginx.com (=?utf-8?B?0JLQsNC70LXQvdGC0LjQvSDQkdCw0YDRgtC10L3QtdCy?=) Date: Wed, 31 Jan 2018 12:31:37 +0300 Subject: =?UTF-8?B?UmU6IGltYWdlIGZpbHRlciDQvdC1INC/0L7QtNC60LvRjtGH0LDQtdGC0YHRjz8=?= In-Reply-To: <83549b2bcf9da8607af50362bf57a42f.NginxMailingListRussian@forum.nginx.org> References: <9527c01241357c0c08f6a469f32a124b.NginxMailingListRussian@forum.nginx.org> <83549b2bcf9da8607af50362bf57a42f.NginxMailingListRussian@forum.nginx.org> Message-ID: <1960076.ndZJGPDJLP@vbart-laptop> On Wednesday, 31 January 2018 10:47:35 MSK Dmytro Lavryk wrote: > Извините, разобрался. Модуль собрался динамически потому нужен был > load_module еще. > > Правда что-то не вижу чтоб он отрабатывал :( > Чтобы он работал - его нужно включить директивой "image_filter". Значение директивы: http://nginx.org/ru/docs/http/ngx_http_image_filter_module.html#image_filter -- Валентин Бартенев From nginx-forum на forum.nginx.org Wed Jan 31 09:45:08 2018 From: nginx-forum на forum.nginx.org (Dmytro Lavryk) Date: Wed, 31 Jan 2018 04:45:08 -0500 Subject: =?UTF-8?B?UmU6IGltYWdlIGZpbHRlciDQvdC1INC/0L7QtNC60LvRjtGH0LDQtdGC0YHRjz8=?= In-Reply-To: <1960076.ndZJGPDJLP@vbart-laptop> References: <1960076.ndZJGPDJLP@vbart-laptop> Message-ID: <19c47f687d4de942bb7d3ab255e54e11.NginxMailingListRussian@forum.nginx.org> Т.е. просто включить не вариант я так понимаю? Только выполнить rotate, resize или crop? Мне ничего из этого не нужно. Меня интересует именно image_filter_interlace on и image_filter_jpeg_quality 70. Второе даже больше. Так не получится? Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278306,278307#msg-278307 From vbart на nginx.com Wed Jan 31 16:12:25 2018 From: vbart на nginx.com (=?utf-8?B?0JLQsNC70LXQvdGC0LjQvSDQkdCw0YDRgtC10L3QtdCy?=) Date: Wed, 31 Jan 2018 19:12:25 +0300 Subject: =?UTF-8?B?UmU6IGltYWdlIGZpbHRlciDQvdC1INC/0L7QtNC60LvRjtGH0LDQtdGC0YHRjz8=?= In-Reply-To: <19c47f687d4de942bb7d3ab255e54e11.NginxMailingListRussian@forum.nginx.org> References: <1960076.ndZJGPDJLP@vbart-laptop> <19c47f687d4de942bb7d3ab255e54e11.NginxMailingListRussian@forum.nginx.org> Message-ID: <7865666.65oZqys9Ag@vbart-workstation> On Wednesday 31 January 2018 04:45:08 Dmytro Lavryk wrote: > Т.е. просто включить не вариант я так понимаю? Только выполнить rotate, > resize или crop? Мне ничего из этого не нужно. Меня интересует именно > image_filter_interlace on и image_filter_jpeg_quality 70. Второе даже > больше. Так не получится? > Увы, так не получится. Модуль создавался именно для выполнения операций, задаваемых в директиве image_filter. Остальные директивы модуля в основном уточняют параметры изображений на выходе, после выполнения данных операций. -- Валентин Бартенев From nginx-forum на forum.nginx.org Wed Jan 31 16:44:58 2018 From: nginx-forum на forum.nginx.org (Dmytro Lavryk) Date: Wed, 31 Jan 2018 11:44:58 -0500 Subject: =?UTF-8?B?UmU6IGltYWdlIGZpbHRlciDQvdC1INC/0L7QtNC60LvRjtGH0LDQtdGC0YHRjz8=?= In-Reply-To: <7865666.65oZqys9Ag@vbart-workstation> References: <7865666.65oZqys9Ag@vbart-workstation> Message-ID: Валентин Бартенев Wrote: ------------------------------------------------------- > Увы, так не получится. Грусть... А что нибудь хитрое типа rotate 360 ? Posted at Nginx Forum: https://forum.nginx.org/read.php?21,278306,278310#msg-278310 From vbart на nginx.com Wed Jan 31 16:55:00 2018 From: vbart на nginx.com (=?utf-8?B?0JLQsNC70LXQvdGC0LjQvSDQkdCw0YDRgtC10L3QtdCy?=) Date: Wed, 31 Jan 2018 19:55 +0300 Subject: =?UTF-8?B?UmU6IGltYWdlIGZpbHRlciDQvdC1INC/0L7QtNC60LvRjtGH0LDQtdGC0YHRjz8=?= In-Reply-To: References: <7865666.65oZqys9Ag@vbart-workstation> Message-ID: <1856180.cMmFWXVtWH@vbart-workstation> On Wednesday 31 January 2018 11:44:58 Dmytro Lavryk wrote: > Валентин Бартенев Wrote: > ------------------------------------------------------- > > Увы, так не получится. > > Грусть... А что нибудь хитрое типа rotate 360 ? > Каких-либо "воркараундов" мне не известно. -- Валентин Бартенев