Content directory in nginx

    • OMV 4.x
    • Content directory in nginx

      I installed the nginx plugin and it works. When I go to http:/ip, the nginx welcome web appears.

      My problem is that I want to load content from another directory. I have added the pool, the server, shared different folders, but I always see the welcome web.

      For more that I have looked for, I have not been able to find information to solve the problem.

      Does anyone know what may be happening to me?

      Thank you.
    • Hard to help without know how the plugin is configured. I assume you are using port-based? If so, are you putting the port in your url? If you are using name-based, then you have to have reverse-dns setup and working.
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • Yes, I use port, and I putting de port like ip:9080

      Always show index.html from /usr/share/nginx/html. I share a www folder in other disk with rights to www-data and 775, and other probes, but never show some different page to index.html on /usr/share/nginx/html.

      If I copy a folder with, for example, pydio, and I try ip:9080/pydio it work, but I want do it to /shareholders/www/pydio

      Thanks.

      The post was edited 2 times, last by spascual ().

    • Are the pages you are putting there php? If so, does the user you select for the pool have permissions to the file? This situation is very difficult to debug when the config, files, and permissions are unknown.
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • I try with a simple index.html, owner www-data, and group same, only show files in /usr/share/nginx/html. I follow deferents installations from diferentes webs with the same effect.

      If you know any tutorial to follow, I can do it and post results.

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

    • spascual wrote:

      If you know any tutorial to follow, I cannot do it and post results.
      I wrote these instructions for wordpress a long time ago but they should still work - Nginx
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!