Un peu fatiguant de ne pas pouvoir configurer ce genre de chose sur l'ELB directement...
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} ^http$
RewriteRule . https://%{HTTP:Host}%{REQUEST_URI} [L,R=permanent]
-
https://aws.amazon.com/premiumsupport/knowledge-center/redirect-http-https-elb/Quand on utilise une image comme celle là, il ne faut pas faire n'importe quoi comme installer des packages php5-extensions, ce n'est pas du tout prévu... Il faut suivre la doc et utiliser les outils mis à dispo sinon on se retrouve un Dockerfile qui n'a aucun sens...
Dans ma todo : migrer ces "choses" pour utiliser une image debian de base
-
https://hub.docker.com/_/php/wget -q https://registry.hub.docker.com/v1/repositories/debian/tags -O - | sed -e 's/[][]//g' -e 's/"//g' -e 's/ //g' | tr '}' '\n' | awk -F: '{print $3}'
-
https://stackoverflow.com/questions/28320134/how-to-list-all-tags-for-a-docker-image-on-a-remote-registryAmazon Elasticsearch access control may be based on IAM account with signed request mechanism
One way not to rewrite all applications is using such a proxy
-
https://github.com/abutaha/aws-es-proxyUne bonne intro en Fr et en vidéo de VueJS
-
https://www.grafikart.fr/formations/vuejs<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
<article>
<h1>We’ll be back soon!</h1>
<div>
<p>Sorry for the inconvenience but we’re performing some maintenance at the moment. If you need to you can always <a href="mailto:#">contact us</a>, otherwise we’ll be back online shortly!</p>
<p>— The Team</p>
</div>
</article>
-
https://gist.github.com/pitch-gist/2999707Parfois, après avoir été déco, il arrive que mon tmux 'freeze' : je peux attach, detach, mais je ne peux rien faire dans les window
Apparement cela vient de mon client qui s'est mal détaché. Pour régler le problème :
tmux list-clients
tmux detach-client
-
https://stackoverflow.com/questions/7408068/tmux-hangs-and-do-not-load-and-do-not-respond-to-any-option-commandEn gros pour dockeriser une app symfony pre 3.2 (ET 2.7 minimum) :
sed -i "s/PLACEHOLDER/PassEnv $(env|grep -Po 'SYMFONY__[^=]+'| paste -s -d' ')/" test.file
A partir de symfony 3.2 c'est beaucoup plus facile car les variables d'environnements sont directement accessibles dans les fichiers de configuration
-
http://symfony.com/doc/2.7/configuration/external_parameters.htmlaws dynamodb scan --table-name foo
-
https://links.infomee.fr/?AqSZDAaws dynamodb delete-item --table-name foo --key "{\"id\":{\"S\":\"$id\"}}"
-
https://links.infomee.fr/?bx3KXg