@julian Hey, thanks @julian for your reply. Currently I configured the server block (btw I am using Nginx v1.6.2 to proxy the port number in the URL) in a way to handle both HTTP and HTTPS protocols:
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
listen 443 ssl;
... location to ssl certificate and key + SSL specific config;
... server root info;
server_name mysite.com www.mysite.com;
location / {
# proxy, proxy pass and socket.io info to handle the port and use mysite.com instead of mysite.com:4567 (same as Nodebb user manual)
}
}
Shall I add a new server block to force reload HTTPS instead of HTTP connections or just add the return 301 command to current server block? Thanks