Nginx

    • OMV 1.0

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

    • Good afternoon.
      It is my first speech in the forum, and I want to thank the great work of the developers of this wonderful system.

      Debian is my entertainment. I installed OMV on a computer that had at home. I installed ssh-sftp-owncloud and plexmediaserver. Everything works correctly

      My question is nginx configuration wan carried out with wordpress by a virtual host.

      As nginx is configured to separate the web interface OMV of these other services.?

      thank you very much
    • You have two options:

      1 - Install the wordpress plugin (not a virtual host config though)

      2 - Install the nginx plugin and install wordpress like any other php app.
      omv 4.1.13 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 guess it isn't the only way but it is the easiest.

      Create a shared folder and put the files in that shared folder. Create a server and pool in the nginx plugin using that shared folder. You can leave the "Use public directory" unchecked and check "Use root".
      omv 4.1.13 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!
    • Here you go. I just installed wordpress using nginx.

      Source Code

      1. Add shared folder for mysql database - mysqldb
      2. Add shared folder for wordpress - wordpress
      3. Install mysql
      4. Enable mysql using mysqldb shared folder
      5. Enable SQL Management site
      6. Save and Apply
      7. Set mysql root password
      8. Click Launch Management Site
      9. Login with user root and new mysql root password
      10. Go to Database menu
      11. Click Create New
      12. Enter wordpress and click Create Database
      13. Install nginx plugin
      14. Enable nginx
      15. Save
      16. Add pool from Pools tab
      17. - name: wppool
      18. - user: www-data
      19. - group: www-data
      20. - leave other settings at their defaults
      21. Add server from Servers tab
      22. - Check Enable
      23. - Directory: wordpress
      24. - Check Use root
      25. - Port: 8080
      26. - Check Enable PHP
      27. - PHP-FPM pool: wppool
      28. - Check index.php
      29. Enable ssh
      30. Save
      31. Click Apply
      32. Connect via ssh (use putty) and login as root
      33. Find Root path in Servers tab for newly created server - use for path in next step
      34. cd /media/long_uuid/wordpress/
      35. wget https://wordpress.org/latest.tar.gz
      36. tar xvzf latest.tar.gz --strip-components=1
      37. rm latest.tar.gz
      38. Go to: http://omv-ip-address:8080/
      Display All
      omv 4.1.13 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!
    • Sorry Ryecoaaron, I'm trying to do the same but in the MySQL plugin there is not any place to put where you want to save the database!

      I'm currently running the WordPress plugin but I don't like to have it running like this because if the system drive fails, I think all the wordpress stuff is there and that's because I would like to install it via the nginx plugin and store the files in a location chosen by me as a shared folder.

      Thanks for your attention!


      EDIT:
      OK, I found out that there's a Scheduled Backup option in the MySQL plugin to backup the database to a shared folder. Would it be easy-restorable if the system drive fails and I reinstall the Wordpress+MySQL plugin and then I restore the ".sql" backupped file?
      DISCLAIMER: :!: I'm not a native English speaker, I'm sorry if I don't explain as good as you would want. :!:

      My NAS:
      Always the latest OMV Erasmus running on an AMD Sempron 3850 @1.3GHz with 4.9.0 Backports Kernel
      with 120GB Samsung SSD 850 EVO for OpenMediaVault & 2x500GB Primary Data HDD + 1TB Secondary HDD for Backup & 2TB USB 3.0 External HDD for offline backup

      Plugin list:
      Flash Memory, Locate, OMV-Extras.org, RSnapshot, Sensors, Syncthing, SMB/CIFS, SSH, USB Backup
      _____________________________________________________________________________________________________________________________

      The Schrödinger's code is that one which is going to work and it's full of bugs at the same time; until you test it, you won't be able to determine it.

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

    • Thanks for the quick answer. Would it be as easy as: ?

      EDIT: (swapped as Ryecoaaron suggested)
      1. Install MySQL and create all the databases etc.
      2. Installing Wordpress using NginX as you said firstly.
      3. Do a scheduled backup of the SQL database to a shared folder
      And if the system drive fails (with the SQL database in it), I will only have to take the Clonezilla image I've done, restore the system and restore the database and WordPress would work wothout any problem?
      DISCLAIMER: :!: I'm not a native English speaker, I'm sorry if I don't explain as good as you would want. :!:

      My NAS:
      Always the latest OMV Erasmus running on an AMD Sempron 3850 @1.3GHz with 4.9.0 Backports Kernel
      with 120GB Samsung SSD 850 EVO for OpenMediaVault & 2x500GB Primary Data HDD + 1TB Secondary HDD for Backup & 2TB USB 3.0 External HDD for offline backup

      Plugin list:
      Flash Memory, Locate, OMV-Extras.org, RSnapshot, Sensors, Syncthing, SMB/CIFS, SSH, USB Backup
      _____________________________________________________________________________________________________________________________

      The Schrödinger's code is that one which is going to work and it's full of bugs at the same time; until you test it, you won't be able to determine it.

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

    • Swap steps 1 and 2. Otherwise, everything you wrote should work. Test the process in a virtual machine.
      omv 4.1.13 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!
    • Hello, I did all you said above and I installed WordPress using the NginX plugin. The problem is that i finish the database setup in the wordpress webpage but when I want to finish the installation, I can't access the webpage. Firefox gives me this error:
      Ha fallat la connexió segura

      S'ha produït un error durant la connexió a 192.168.1.230:8080. L'SSL ha rebut un registre que excedeix la longitud màxima permesa. (Codi d'error: ssl_error_rx_record_too_long)

      Translated:
      Secure connection failed.
      There has been a problem during the connection to 192.168.1.230:8080. The SSL has received a register that exceeds the maximum lenght permitted. (Error code: ssl_error_rx_record_too_long)

      Any ideas?

      PS: I have SSL enabled in the OMV webGUI with a self-signed certificate but the "Force HTTPS" is disabled.

      Thanks in advance!

      EDIT: I tried clearing Firefox cache and using a private window. All of them give me the same error. If I access using plain HTTP, it redirects me to the OMV WebGUI.
      DISCLAIMER: :!: I'm not a native English speaker, I'm sorry if I don't explain as good as you would want. :!:

      My NAS:
      Always the latest OMV Erasmus running on an AMD Sempron 3850 @1.3GHz with 4.9.0 Backports Kernel
      with 120GB Samsung SSD 850 EVO for OpenMediaVault & 2x500GB Primary Data HDD + 1TB Secondary HDD for Backup & 2TB USB 3.0 External HDD for offline backup

      Plugin list:
      Flash Memory, Locate, OMV-Extras.org, RSnapshot, Sensors, Syncthing, SMB/CIFS, SSH, USB Backup
      _____________________________________________________________________________________________________________________________

      The Schrödinger's code is that one which is going to work and it's full of bugs at the same time; until you test it, you won't be able to determine it.