convert nginx reverse proxy config to apache

I have the following working nginx reverse proxy config server { listen 192.168.100.7:443; server_name mysite.internal; location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto https; proxy_redirect off; proxy_pass http://192.168.100.8; proxy_http_version 1.1; } ssl on; ssl_certificate /etc/nginx/certs/mycert.cer; ssl_certificate_key /etc/nginx/certs/mycert.key; ssl_session_timeout 5m; } and I’m trying to convert it to run under apache httpd but…

Details

ssh with mysql instruction

I have the following instruction and it works. ssh -i /e/Data/openssh.ppk [email protected] ssh cos-server “pwd ” But when I execute the instruction below: ssh -i /e/Data/openssh.ppk [email protected] ssh cos-server “mysql -u bduser –host=tdb –password=pass -e \”SELECT 1 AS Quantity;\”” It asks for my passphrase. I entered it but the command appears to fail and the…

Details