can not access my side with other port except 8080
Closed this issue · 3 comments
I deploy scribble in Amazon EC2 instance, I create some rule in the Security Group, but I can only access my site with
http://ec2-54-254-197-201.ap-southeast-1.compute.amazonaws.com:8080
can not access it with
http://ec2-54-254-197-201.ap-southeast-1.compute.amazonaws.com:6000 or other specific port even I have add it into the Security Group.
By the way, the root directory of my site is ~/blog. not in the /var/www, it's that ok? right?
Hi @metrue , I think this problem does not relate to this theme.
But if you host your own Jekyll on your ec2, you'd best use jekyll build
to generate your site's static file. You can find the syntax here. Then just use Apache to host your static site. You can use apache virtual host to set the specific port. Setting up a git hook
on your ec2 is a good idea for auto-deploy.
If you wanna test your project locally with specific port, please follow to this site
Love scribble 👍