# Setup HTTPS access
server {
listen 80;
location /server {
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $host;
proxy_pass http://localhost:8080/server;
}
location / {
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $host;
proxy_pass http://localhost:4000/;
}
}
My ssl is being handle by the domain.
Will any Nginx configuration changes will resolve this problem? If anyone has any idea how to resolve this issue please suggest.