Try nodebb-plugin-iframely
How to move my forum to index domain name
-
is the current url. It happened after git pull error and fixing with lot of help from @a_5mith .Help me move it to www.techiewiz.in
-
Can you run
nginx -v
and paste the output. -
[email protected]:/home/nodebb# nginx -v
nginx version: nginx/1.6.0
[email protected]:/home/nodebb# -
Sorry bud, been a trifle busy making plugins.
Right,
cd /etc/nginx/conf.d
Hopefully you end up in a folder called conf.d
Typels
Hopefully you'll see a file called default...
sudo nano techiewiz.in
Paste the following
server { listen 80; server_name techiewiz.in; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://<yourserversIPaddress>:<port_number>/; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }
Ctrl+x to exit
cd ~ sudo service nginx restart
You should get Nginx Service Restarting [ok]
Try loading your website. -
[email protected]:~# cd /etc/nginx/conf.d
[email protected]:/etc/nginx/conf.d# ls
status.conf vesta.conf
[email protected]:/etc/nginx/conf.d# sudo nano techiewiz.in
[email protected]:/etc/nginx/conf.d# cd ~
[email protected]:~# sudo service nginx restart
[ ok ] Restarting nginx: nginx.
[email protected]:~# -
@meetdilip I've outlined how I fixed this here in case it goes wrong again.
The config file I gave you has <yourIPAddress>:<port_number> left in, you were supposed to set those yourself.
But no matter. I then renamed techiewiz.in to techiewiz.conf as apparently your nginx would only include files ending in .conf. And now it's working fine.