<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <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">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>