nginx - get 502 Bad Gateway

    • OMV 3.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • nginx - get 502 Bad Gateway

      Tried to install nginx, used Port 8000. With a HTML-File everything is ok, but if i try a php-file like -> index.php : " <?php phpinfo(); ?> I get a


      502 Bad Gateway



      In the log of the nginx client is this

      Source Code

      1. 2016/10/22 11:06:07 [crit] 9760#0: *499 connect() to unix:/var/run/fpm-.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.178.139, server: , request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/fpm-.sock:", host: "192.168.178.20:8000"




      Is this a known issue and am i to blind to see things?

      By Micha from Berlin
      ____________________
      Grüße aus Berlin

      Q29000-ITX
      omv 4.1.8.2 | 64 bit | backport kernel | omvextras

      The post was edited 1 time, last by mipi ().

    • Hi,

      Same problem here, on OMV 3.0 (fresh install).
      It's working on my old OMV 2.0 VM.

      Here is the output:

      Source Code

      1. 2016/10/23 19:02:10 [crit] 11708#0: *1 connect() to unix:/var/run/fpm-850e1c20-5188-41e4-a15e-96e232927545.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.12, server: , request: "GET /index.php?username=*****&password=****** HTTP/1.1", upstream: "fastcgi://unix:/var/run/fpm-850e1c20-5188-41e4-a15e-96e232927545.sock:", host: "192.168.0.10:8887"
    • Just tested on a fresh install of 3.0.47 and it works fine. Post screenshots of your settings.
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.9
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Look like the same settings as mine. Either a permissions issue and/or file served issue.
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.9
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!