Changes

Jump to navigation Jump to search
$ cd /etc/apache2/sites-available
$ sudo vi 000-default.conf
 
I added this VirtualHost block:
#ServerAlias www.your-second-url.com
RewriteEngine On
RewriteRule ^/?blogghost(/.*)?$ /var/www/ghost/index.js [L]
ProxyRequests off
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
</VirtualHost>
 
Then restart the server with $ sudo service apache2 restart and navigate to http://128.42.44.22/ghost.
== To-do list ==
Anonymous user

Navigation menu