Changes
Jump to navigation
Jump to search
Test Web Server Documentation (view source)
Revision as of 16:10, 14 March 2016
, 16:10, 14 March 2016→Installing Ghost (3/14/2016)
$ 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 ==