Overview for 'serversforhackers'
Written by Servers for Hackers
/ Original link
on Apr. 12, 2019
Mysqldump has many options (I count 111 options ?). Most of us are likely keeping it simple. Here's how I've typically exported a single database: mysqldump some_database > some_database.sql # Or with user auth mysqldump -u some_user -p some_database > some_database.sql # Or with gzip compres…
Written by Servers for Hackers
/ Original link
on Apr. 12, 2019
Mysqldump has many options (I count 111 options ?). Most of us are likely keeping it simple. Here's how I've typically exported a single database: mysqldump some_database > some_database.sql # Or with user auth mysqldump -u some_user -p some_database > some_database.sql # Or with gzip compres…
Written by unknown
/ Original link
on Apr. 12, 2019
Mysqldump has many options (I count 111 options ?). Most of us are likely keeping it simple. Here's how I've typically exported a single database: mysqldump some_database > some_database.sql # Or with user auth mysqldump -u some_user -p some_database > some_database.sql # Or with gzip compres…
Written by Servers for Hackers
/ Original link
on Jan. 26, 2019
🔥 Nginx "map" is super useful!💡 Nginx sets incoming headers to variables ($http_foo)So, here we set X-Forwarded-Proto to the value of $cloudfront_proto that "map" creates by testing for two possible "proto" headers!https://t.co/VkNRMpDDqr pic.twitter.com/6CAXEhiA29— Chris Fidao (@fideloper) May 23,…
Written by Servers for Hackers
/ Original link
on Jan. 26, 2019
LetsEncrypt with HAProxy This is a video from the Scaling Laravel course's Load Balancing module. Part of what I wanted to cover was how to use SSL certificates with a HAProxy load balancer. LetsEncrypt (certbot) is great for this, since we can get a free and trusted SSL certificate. Since we're us…
Written by Servers for Hackers
/ Original link
on Jan. 26, 2019