Nextcloud and reverse proxy settingns

Hello,
I have a problem. I have a working version of nextcloud on apache2 web server,
I tried to set up reverse proxy, but I cannot make it work to apache to display a nextcloud website, only default website. Reverse proxy is nginx web server. I tried to set a listening port in apache ports.conf to 8080 but it’s all the same. Thank you.

My apache code:
<VirtualHost *:8080>
Alias /nextcloud “/var/www/nextcloud/”
ServerName localhost

 <Directory /var/www/nextcloud/>
    Options +FollowSymlinks
    AllowOverride All
    Require all granted
      <IfModule mod_dav.c>
        Dav off
      </IfModule>
    SetEnv HOME /var/www/nextcloud
    SetEnv HTTP_HOME /var/www/nextcloud
 </Directory>

 ErrorLog ${APACHE_LOG_DIR}/error.log
 CustomLog ${APACHE_LOG_DIR}/access.log combined

My nginx code:

server {
listen 80;

root /var/www/html/;
index index.html index.htm;

server_name nextcloud.mywebsite.com;

location \ {

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:8080;
}

}