   }
 
   location / {
-    root /var/www/ekade/code/javascript/site/;
+    root /var/www/ekade/code/html/;
     proxy_set_header REMOTE_ADDR $remote_addr;
     proxy_set_header X-Real-IP $remote_addr;
     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    proxy_set_header X-Forwarded-Proto $scheme;
  }

  location ~ ^/upload {
    #proxy_pass http://10.5.6.1:65432;
    proxy_pass http://127.0.0.1:10050;

  error_log  /var/www/ekade/logs/nginx/plain-error.log;

  location / {
    rewrite ^(.*) https://emajliramokade.com$1;
  }
}

server {
  listen wc.emajliramokade.com:80;
  server_name .emajliramokade.com;

  access_log /var/www/ekade/logs/nginx/plain-access.log combined buffer=32k;
  error_log  /var/www/ekade/logs/nginx/plain-error.log;

  location / {
    rewrite ^(.*) https://emajliramokade.com$1;
  }
}

