This mediation policy redirects requests based on resource variable, but keeping limit and offset query params (ignore rest).
"Endpoint type" MUST be set to "Dynamic Endpoint" at "Implement" publisher tab.
{ | |
"workbench.startupEditor": "none", | |
"terminal.integrated.defaultProfile.windows": "Git Bash", | |
"editor.indentSize": "tabSize", | |
"editor.detectIndentation": false, | |
"symbols.hidesExplorerArrows": false, | |
"workbench.iconTheme": "symbols", | |
"editor.fontFamily": "JetBrains Mono", | |
"editor.lineHeight": 1.8, | |
"editor.fontLigatures": true, |
telnet 172.16.10.10 25 | |
Trying 172.16.10.10... | |
Connected to 172.16.10.10. | |
Escape character is '^]'. | |
220 c1v41d.localdomain ESMTP Postfix | |
helo test.smtp | |
250 c1v41d.localdomain | |
mail from:<youremail@domain.com> | |
250 2.1.0 Ok | |
rcpt to:<youremail@domain.com> |
#!/bin/bash | |
git clone ssh://git@<url>:<port>/path/to/repo.git |
SELECT pg_size_pretty(pg_relation_size('table_name')); |
SELECT relname AS "table_name", | |
n_dead_tup AS "dead_tuples" | |
FROM pg_stat_user_tables; |
#!/bin/bash | |
cat file.conf | grep -v '#' | grep -ve '^$' |
#!/bin/sh | |
# Associate IAM profile (with role `CloudWatchAgentServerRole`) to your EC2 instance | |
# Install CloudWatch | |
sudo yum install amazon-cloudwatch-agent -y | |
# Install CollectD | |
sudo amazon-linux-extras install collectd -y |
This mediation policy redirects requests based on resource variable, but keeping limit and offset query params (ignore rest).
"Endpoint type" MUST be set to "Dynamic Endpoint" at "Implement" publisher tab.
function applySlimScroll() { | |
$('.slimScrollDiv .sidebar').unwrap(); | |
$('.slimScrollBar, .slimScrollRail').remove(); | |
$('.sidebar').slimScroll({ | |
height: 'auto', | |
size: '10px', | |
color: #ff0000', | |
alwaysVisible: true, | |
railVisible: true, | |
railColor: '#222', |
Guide on how to configure Traefik with Nginx on Amazon Linux 2 EC2 Instance, without Docker.
Create an EC2 Instance on AWS with security groups allowing incoming traffic on ports 80 and 443.
Connect to your instance.
Install and configure Nginx: