<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>par ailleurs quand j'essaye d'accéder directement à flectra en
      utilisant le don port adresseip:7073 j'ai le message "La connexion
      a été réinitialisée"</p>
    <p>pourtant flectra tourne bien<br>
    </p>
    <p># service flectra status<br>
      ● flectra.service - Flectra Open Source ERP and CRM<br>
         Loaded: loaded (/lib/systemd/system/flectra.service; enabled;
      vendor preset:<br>
         Active: active (running) since Fri 2019-05-24 16:07:25 CEST; 1h
      34min ago<br>
       Main PID: 353 (flectra)<br>
       Tasks: 4 (limit: 4915)<br>
       Memory: 131.3M<br>
       CPU: 7.202s<br>
         CGroup: /system.slice/flectra.service<br>
                 └─353 /usr/bin/python3 /usr/bin/flectra --config
      /etc/flectra/flectra</p>
    <p><br>
      <br>
    </p>
    <div class="moz-cite-prefix">Le 24/05/2019 à 16:20, tuxrouge via
      Toulouse-ll a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:07f5e1d4-f84b-a65f-297a-78f0deadd699@free.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>bien vu</p>
      <p>je l'ai ajouté, redémarrer nginx et ... ça ne change rien :(<br>
      </p>
      <p><br>
      </p>
      <div class="moz-cite-prefix">Le 24/05/2019 à 15:26, Thomas
        Pedoussaut via Toulouse-ll a écrit :<br>
      </div>
      <blockquote type="cite"
        cite="mid:e1bb92b8-4440-cd1a-87b5-dd99bead607a@pedoussaut.com">
        <p>Il te manque un ; à la fin de ta ligne "server_name ....."<br>
        </p>
        <div class="moz-cite-prefix">On 24/05/2019 14:08, tuxrouge via
          Toulouse-ll wrote:<br>
        </div>
        <blockquote type="cite"
          cite="mid:59abeb49-23c5-3521-2a98-448d2a009998@free.fr"> <br>
          <blockquote type="cite"
            cite="mid:87495e52-88c8-e287-06a3-368b6d4b9f73@arcagenis.org">
            <pre class="moz-quote-pre" wrap="">Étrange que tu aies un serveur name "/var/www/html/"

Après comme l'a dit tTh, cela peut provenir de ton erreur ligne 71.

Le plus simple c'est que tu nous montre ta conf  /etc/nginx/nginx.conf
et /etc/nginx/sites-enabled/flectra :)

--
</pre>
          </blockquote>
          <p>ce sera effectivement plus simple</p>
          <p class="moz-quote-pre" wrap=""><b>etc/nginx/nginx.conf</b></p>
          <p>user www-data;<br>
            worker_processes auto;<br>
            pid /run/nginx.pid;<br>
            include /etc/nginx/modules-enabled/*.conf;<br>
            <br>
            events {<br>
                worker_connections 768;<br>
                # multi_accept on;<br>
            }<br>
            <br>
            http {<br>
            <br>
                ##<br>
                # Basic Settings<br>
                ##<br>
            <br>
                sendfile on;<br>
                tcp_nopush on;<br>
                tcp_nodelay on;<br>
                keepalive_timeout 65;<br>
                types_hash_max_size 2048;<br>
                # server_tokens off;<br>
            <br>
                # server_names_hash_bucket_size 64;<br>
                # server_name_in_redirect off;<br>
            <br>
                include /etc/nginx/mime.types;<br>
                default_type application/octet-stream;<br>
            <br>
                ##<br>
                # SSL Settings<br>
                ##<br>
            <br>
                ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3,
            ref: POODLE<br>
                ssl_prefer_server_ciphers on;<br>
            <br>
                ##<br>
                # Logging Settings<br>
                ##<br>
            <br>
                access_log /var/log/nginx/access.log;<br>
                error_log /var/log/nginx/error.log;<br>
            <br>
                ##<br>
                # Gzip Settings<br>
                ##<br>
            <br>
                gzip on;<br>
                gzip_disable "msie6";<br>
            <br>
                # gzip_vary on;<br>
                # gzip_proxied any;<br>
                # gzip_comp_level 6;<br>
                # gzip_buffers 16 8k;<br>
                # gzip_http_version 1.1;<br>
                # gzip_types text/plain text/css application/json
            application/javascript text/xml application/xml
            application/xml+rss text/javascript;<br>
            <br>
                ##<br>
                # Virtual Host Configs<br>
                ##<br>
            <br>
                include /etc/nginx/conf.d/*.conf;<br>
                include /etc/nginx/sites-enabled/*;<br>
            <br>
            }<br>
            <br>
            #mail {<br>
            #    # See sample authentication script at:<br>
            #    # <a class="moz-txt-link-freetext"
              href="http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript"
              moz-do-not-send="true">http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript</a><br>
            # <br>
            #    # auth_http localhost/auth.php;<br>
            #    # pop3_capabilities "TOP" "USER";<br>
            #    # imap_capabilities "IMAP4rev1" "UIDPLUS";<br>
            # <br>
            #    server {<br>
            #        listen     localhost:110;<br>
            #        protocol   pop3;<br>
            #        proxy      on;<br>
            #    }<br>
            # <br>
            #    server {<br>
            #        listen     localhost:143;<br>
            #        protocol   imap;<br>
            #        proxy      on;<br>
            #    }<br>
            #}</p>
          <pre class="moz-quote-pre" wrap=""><b>/etc/nginx/sites-enabled/flectra</b></pre>
          <p>server {<br>
                listen 80 default_server;<br>
                listen [::]:80 default_server;<br>
                server_name mon-serveur.fr<br>
                root /var/www/html;<br>
                location / {<br>
                    proxy_pass <a class="moz-txt-link-freetext"
              href="http://localhost:7073" moz-do-not-send="true">http://localhost:7073</a>;<br>
                        # force timeouts if the backend dies<br>
                        proxy_next_upstream error timeout invalid_header
            http_500 http_502 http_503 http_504;<br>
                        proxy_redirect off;<br>
            <br>
                        # set headers<br>
                        proxy_set_header    Host            $host;<br>
                        proxy_set_header    X-Real-IP      
            $remote_addr;<br>
                        proxy_set_header    X-Forwarded-For
            $proxy_add_x_forwarded_for;<br>
                        proxy_set_header    X-Forwarded-Proto https;<br>
                }<br>
            }</p>
          <p><br>
          </p>
          <p><br>
          </p>
          <p><br>
          </p>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <pre class="moz-quote-pre" wrap="">_______________________________________________
Toulouse-ll mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Toulouse-ll@toulibre.org" moz-do-not-send="true">Toulouse-ll@toulibre.org</a>
<a class="moz-txt-link-freetext" href="http://toulibre.org/cgi-bin/mailman/listinfo/toulouse-ll" moz-do-not-send="true">http://toulibre.org/cgi-bin/mailman/listinfo/toulouse-ll</a></pre>
        </blockquote>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
Toulouse-ll mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Toulouse-ll@toulibre.org" moz-do-not-send="true">Toulouse-ll@toulibre.org</a>
<a class="moz-txt-link-freetext" href="http://toulibre.org/cgi-bin/mailman/listinfo/toulouse-ll" moz-do-not-send="true">http://toulibre.org/cgi-bin/mailman/listinfo/toulouse-ll</a></pre>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Toulouse-ll mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Toulouse-ll@toulibre.org">Toulouse-ll@toulibre.org</a>
<a class="moz-txt-link-freetext" href="http://toulibre.org/cgi-bin/mailman/listinfo/toulouse-ll">http://toulibre.org/cgi-bin/mailman/listinfo/toulouse-ll</a></pre>
    </blockquote>
  </body>
</html>