❤️🔥
- Looking at your instance info, find VNIC section, click "Public Subnet".
- Click on your security list.
- Add a new entry with the following options:
- "Stateless" = No, "Source" = 0.0.0.0/0, "IP Protocol" = TCP, "Source Port Range" = All, "Destination Port Range" = 80
- SSH to your instance.
- While SSH'ed in your instance, run command
firewall-cmd --permanent --add-service=http
. - While SSH'ed in your instance, run command
firewall-cmd --reload
. - Now start Apache, NGINX, or whatever server you need to on port 80. You can now access from the internet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service cloud.firestore { | |
match /databases/{database}/documents { | |
// START - Usage example | |
match /people/{document=**} { | |
function propertiesValid() { | |
return request.resource.data.keys().hasAll(['name', 'birthdate', 'yearsOfExperience']) | |
&& request.resource.data.size() == 3 | |
&& isString('name') && minlength('name', 3) && maxlength('name', 255) |
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).