<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>51951</bug_id>
          
          <creation_ts>2024-11-05 12:58:27 +0300</creation_ts>
          <short_desc>Не заменяется локальный адрес на 0.0.0.0 в конфигурации nginx по умолчанию</short_desc>
          <delta_ts>2025-04-18 17:14:44 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Virtualization</classification>
          <product>Docker</product>
          <component>altcloud/nginx</component>
          <version>не указана</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="(retired)">iwxnpnqwajevvkfuic</reporter>
          <assigned_to name="geochip@altlinux.org">geochip</assigned_to>
          
          
          <qa_contact name="geochip@altlinux.org">geochip</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>253968</commentid>
    <comment_count>0</comment_count>
    <who name="(retired)">iwxnpnqwajevvkfuic</who>
    <bug_when>2024-11-05 12:58:27 +0300</bug_when>
    <thetext>При построении образа используется команда
RUN sed -Ei &apos;s/^([[:space:]]*listen[[:space:]]+)localhost(:80)/\10.0.0.0\2/&apos; \
            /etc/nginx/sites-available.d/default.conf
но в конфигурации default.conf пакета nginx написан не localhost, а 127.0.0.1, как указано в патче
https://git.altlinux.org/gears/n/nginx.git?p=nginx.git;a=commitdiff;h=a4cc271f2d5580e74c42e7d967b4f3e684f7da33
Соответственно эта команда ничего не делает и nginx слушает только на локальном интерфейсе.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>