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 { | |
# ... | |
location = /.well-known/carddav { return 301 /remote.php/dav/; } | |
location = /.well-known/caldav { return 301 /remote.php/dav/; } | |
location = /.well-known/webfinger { return 301 /index.php/.well-known/webfinger; } | |
location = /.well-known/nodeinfo { return 301 /index.php/.well-known/nodeinfo; } | |
# ... |
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
zip( | |
userGateway.getUsers(), | |
ordersGateway.getOrders() | |
) { | |
UsersAndOrders( | |
it[0] as Users, | |
it[1] as Orders | |
) | |
} |
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
Mono.zip( | |
userGateway.getUsers(), | |
ordersGateway.getOrders() | |
) | |
.map { (users, orders) -> | |
UsersAndOrder(users, orders) | |
} |
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
version: '3.1' | |
services: | |
wordpress: | |
image: wordpress | |
restart: always | |
environment: | |
WORDPRESS_DB_HOST: db | |
WORDPRESS_DB_USER: ${MYSQL_USER} | |
WORDPRESS_DB_PASSWORD: ${MYSQL_PASSWORD} | |
WORDPRESS_DB_NAME: ${MYSQL_DATABASE} |
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
#!/bin/bash | |
while getopts d:e: flag | |
do | |
case "${flag}" in | |
d) domain=${OPTARG};; | |
e) email=${OPTARG};; | |
esac | |
done |
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
version: '3' | |
services: | |
nginx: | |
image: nginx:1.25.2 | |
container_name: nginx | |
restart: always | |
volumes: | |
- ./conf/nginx.conf:/etc/nginx/nginx.conf | |
- ./conf/conf.d:/etc/nginx/conf.d | |
- ./data/certbot/conf:/etc/letsencrypt |
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
"dev": { | |
"SSLConfiguration": { | |
"clientCertificate": "dev.pem", | |
"clientCertificateKey": "dev.key.pem", | |
"hasCertificatePassphrase": true | |
} | |
} |
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
GET https://{{ service-host }}/hello-world | |
Authorization: Bearer {{ access_token }} |
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
POST https://{{ oauth-host }}/oauth/token?grant_type=client_credentials | |
Content-Type: application/json |
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
"dev": { | |
"oauth-host": "dev-oauth.example.com" | |
} |
NewerOlder