Report this

What is the reason for this report?

Running nginx proxy on Proxmox node

Posted on December 24, 2017
r0g

By r0g

Hi all,

i´m running a proxmox node with multiple VMs and containers. What i want to do is to setup a new container with a nextcloud installation. Im already running a VM with public IP address and nginx. This VM already handles multiple websites with virtual host config.

Additional i want to use this VM to forward a specific domain name (drive.mydomain.com) to my nextcloud container. On my proxmox node i created a network (10.20.30.0) which both of them know - The VM and my nextcloud container.

Now i need a configuration for my virtual host file which listens to drive.mydomain.com and forwards it to my nextcloud container (10.20.30.100) included the SSL traffic.

Does anyone has done this and can tell me where to look or maybe post an example configuration?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello there

We have a tutorial that covers the process of installing NextCloud on an Ubuntu droplet and also securing it with an SSL Certificate

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-22-04#step-3-adjusting-the-trusted-domains

As for the domain name resolution. You’ll need to create a virtual host for drive.mydomain.com

The process will depend on the web server - Apache or Nginx

https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-20-04

https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-22-04#step-5-setting-up-server-blocks-recommended

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.