This file contains 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
query NODE_Form($id: [QueryArgument], $siteId: [QueryArgument]) { | |
formieForm(id: $id, siteId: $siteId) { | |
remoteTypeName: __typename | |
..._CraftFormID_ | |
...Form | |
} | |
} | |
query LIST_Form($limit: Int, $offset: Int) { | |
formieForms(limit: $limit, offset: $offset, site: "default") { |
This file contains 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
openssl req -new -sha256 -nodes -out /opt/homebrew/etc/nginx/ssl/<your_website>.csr -newkey rsa:2048 -keyout /opt/homebrew/etc/nginx/ssl/<your_website>.key -config <( | |
cat <<-EOF | |
[req] | |
distinguished_name = req_distinguished_name | |
req_extensions = v3_req | |
[req_distinguished_name] | |
countryName = Country Name (2 letter code) | |
countryName_default = AU | |
stateOrProvinceName = State or Province Name (full name) | |
stateOrProvinceName_default = Victoria |
This file contains 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
server { | |
listen 127.0.0.1:80; | |
listen [::]:443 ssl http2; | |
server_name <your_website>.test www.<your_website>.test *.<your_website>.test; | |
return 301 https://$host$request_uri; | |
} | |
server { | |
listen 443 ssl http2; |